Since Chromium build system appears to define __STDC_CONSTANT_MACROS, we might as well use the macro definitions from stdint.h in all cases.
Review URL: http://codereview.chromium.org/109016
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1858
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
#endif // BUILDING_V8_SHARED
#else // _WIN32
-
+#ifndef __STDC_CONSTANT_MACROS
+#define __STDC_CONSTANT_MACROS
+#endif
#include <stdint.h>
// Setup for Linux shared library export. There is no need to destinguish
#ifdef _MSC_VER
#define UINT64_C(x) (x ## UI64)
#define INT64_C(x) (x ## I64)
-#else
-#define UINT64_C(x) (x ## ULL)
-#define INT64_C(x) (x ## LL)
#endif
// Code-point values in Unicode 4.0 are 21 bits wide.