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
This commit is contained in:
iposva@chromium.org 2009-05-13 16:39:31 +00:00
parent 90ccd181ae
commit 8a78b96e5f

View File

@ -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.