harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r774973 - /harmony/enhanced/classlib/trunk/modules/misc/src/main/native/accessors/shared/MemMacros.h
Date Fri, 15 May 2009 00:39:47 GMT
Author: ndbeyer
Date: Fri May 15 00:39:47 2009
New Revision: 774973

URL: http://svn.apache.org/viewvc?rev=774973&view=rev
Log:
Add MACOSX to macro tests

Modified:
    harmony/enhanced/classlib/trunk/modules/misc/src/main/native/accessors/shared/MemMacros.h

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/native/accessors/shared/MemMacros.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/native/accessors/shared/MemMacros.h?rev=774973&r1=774972&r2=774973&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/native/accessors/shared/MemMacros.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/native/accessors/shared/MemMacros.h
Fri May 15 00:39:47 2009
@@ -15,7 +15,7 @@
  *  limitations under the License.
  */
 
-#ifdef __linux__
+#if  defined(__linux__) || defined(MACOSX)
     #include <stdint.h>
 #else
     #include <stddef.h>
@@ -81,7 +81,7 @@
 #endif /* ifdef __i386__ */
 
 /* windows section */
-#else 
+#else
 
 #define get_unaligned(type, ptr) ( *((type *)((uintptr_t)(ptr))) )
 #define set_unaligned(type, ptr, val) ( (void) (*((type *)((uintptr_t)(ptr))) = val) )



Mime
View raw message