From: iposva@chromium.org Date: Wed, 13 May 2009 16:39:31 +0000 (+0000) Subject: Pointer difference is int and not long on Mac OS X. X-Git-Tag: upstream/4.7.83~24121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a78b96e5f12529da3ed63f10b68d54bfbf15b44;p=platform%2Fupstream%2Fv8.git Pointer difference is int and not long on Mac OS X. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1939 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/globals.h b/src/globals.h index 030d995..e0c5278 100644 --- a/src/globals.h +++ b/src/globals.h @@ -92,9 +92,7 @@ typedef byte* Address; // Fix for Mac OS X defining uintptr_t as "unsigned long": #if defined(__APPLE__) && defined(__MACH__) #undef V8PRIxPTR -#undef V8PRIdPTR #define V8PRIxPTR "lx" -#define V8PRIdPTR "ld" #endif // Code-point values in Unicode 4.0 are 21 bits wide.