Author: [email protected]
Date: Wed May 13 09:39:31 2009
New Revision: 1939

Modified:
    branches/bleeding_edge/src/globals.h

Log:
Pointer difference is int and not long on Mac OS X.



Modified: branches/bleeding_edge/src/globals.h
==============================================================================
--- branches/bleeding_edge/src/globals.h        (original)
+++ branches/bleeding_edge/src/globals.h        Wed May 13 09:39:31 2009
@@ -92,9 +92,7 @@
  // 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.

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to