harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r935716 - /harmony/enhanced/java/trunk/drlvm/vm/include/open/platform_types.h
Date Mon, 19 Apr 2010 19:57:09 GMT
Author: hindessm
Date: Mon Apr 19 19:57:09 2010
New Revision: 935716

URL: http://svn.apache.org/viewvc?rev=935716&view=rev
Log:
Another gcc 4.5 fix (avoid overriding identical built in defines).

Modified:
    harmony/enhanced/java/trunk/drlvm/vm/include/open/platform_types.h

Modified: harmony/enhanced/java/trunk/drlvm/vm/include/open/platform_types.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/drlvm/vm/include/open/platform_types.h?rev=935716&r1=935715&r2=935716&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/drlvm/vm/include/open/platform_types.h (original)
+++ harmony/enhanced/java/trunk/drlvm/vm/include/open/platform_types.h Mon Apr 19 19:57:09
2010
@@ -74,6 +74,7 @@ typedef unsigned Boolean;
 #ifndef __WORDSIZE // exclude remark #193: zero used for undefined preprocessing identifier
 #define __WORDSIZE 0
 #endif
+#if !defined(__INT64_C)
 # if __WORDSIZE == 64 || defined(WIN32)
 #  define __INT64_C(c)  c ## L
 #  define __UINT64_C(c) c ## UL
@@ -81,6 +82,7 @@ typedef unsigned Boolean;
 #  define __INT64_C(c)  c ## LL
 #  define __UINT64_C(c) c ## ULL
 # endif
+# endif
 
 #ifdef PLATFORM_POSIX
 typedef unsigned short uint16;



Mime
View raw message