Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: runtime/platform/globals.h

Issue 10909103: Move inttypes.h compatibility definitions for Win32 out of globals.h. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove uneccessary conditionals Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/platform/inttypes_support_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/globals.h
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h
index cade96962ad2a13b7f7497070eb5d23366d4bc3d..e7cda989cb5ea66ac0a10c7536308c81143d6825 100644
--- a/runtime/platform/globals.h
+++ b/runtime/platform/globals.h
@@ -111,41 +111,6 @@
#endif
-// Printf format specifiers for intptr_t on Windows.
-#if defined(TARGET_OS_WINDOWS)
-#if defined(ARCH_IS_32_BIT)
-#define DART_PRINTF_PTR_PREFIX ""
-#else
-#define DART_PRINTF_PTR_PREFIX "ll"
-#endif
-
-#if !defined(PRIdPTR)
-#define PRIdPTR DART_PRINTF_PTR_PREFIX "d"
-#endif
-
-#if !defined(PRIuPTR)
-#define PRIuPTR DART_PRINTF_PTR_PREFIX "u"
-#endif
-
-#if !defined(PRIxPTR)
-#define PRIxPTR DART_PRINTF_PTR_PREFIX "x"
-#endif
-
-#if !defined(PRId64)
-#define PRId64 "I64d"
-#endif
-
-#if !defined(PRIu64)
-#define PRIu64 "I64u"
-#endif
-
-#if !defined(PRIx64)
-#define PRIx64 "I64x"
-#endif
-
-#endif // defined(TARGET_OS_WINDOWS)
-
-
// Short form printf format specifiers
#define Pd PRIdPTR
#define Pu PRIuPTR
« no previous file with comments | « no previous file | runtime/platform/inttypes_support_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698