[xiph-commits] r14419 - trunk/Tremor

ivo at svn.xiph.org ivo at svn.xiph.org
Fri Jan 18 17:56:43 PST 2008


Author: ivo
Date: 2008-01-18 17:56:41 -0800 (Fri, 18 Jan 2008)
New Revision: 14419

Modified:
   trunk/Tremor/os_types.h
Log:
correct way of detecting OS X

Modified: trunk/Tremor/os_types.h
===================================================================
--- trunk/Tremor/os_types.h	2008-01-19 01:22:26 UTC (rev 14418)
+++ trunk/Tremor/os_types.h	2008-01-19 01:56:41 UTC (rev 14419)
@@ -57,7 +57,7 @@
    typedef UInt32 ogg_uint32_t;
    typedef SInt64 ogg_int64_t;
 
-#elif defined(__MACOSX__) /* MacOS X Framework build */
+#elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
 
 #  include <sys/types.h>
    typedef int16_t ogg_int16_t;



More information about the commits mailing list