Commit 3fa2a67f authored by lrn@chromium.org's avatar lrn@chromium.org

Changed definition of INT64_C and UINT64_C to use the one in stdint.h.

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
parent 3cdb194c
......@@ -77,7 +77,9 @@ typedef unsigned __int64 uint64_t;
#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
......
......@@ -54,9 +54,6 @@ typedef byte* Address;
#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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment