You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2010/04/19 21:57:09 UTC
svn commit: r935716 -
/harmony/enhanced/java/trunk/drlvm/vm/include/open/platform_types.h
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;