[xiph-commits] r14420 - trunk/ogg2/include/ogg2

ivo at svn.xiph.org ivo at svn.xiph.org
Fri Jan 18 17:59:04 PST 2008


Author: ivo
Date: 2008-01-18 17:59:02 -0800 (Fri, 18 Jan 2008)
New Revision: 14420

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

Modified: trunk/ogg2/include/ogg2/os_types.h
===================================================================
--- trunk/ogg2/include/ogg2/os_types.h	2008-01-19 01:56:41 UTC (rev 14419)
+++ trunk/ogg2/include/ogg2/os_types.h	2008-01-19 01:59:02 UTC (rev 14420)
@@ -79,7 +79,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