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:
parent
90ccd181ae
commit
8a78b96e5f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user