summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivo <ivo@xiph.org>2008-01-19 01:56:41 +0000
committerivo <ivo@xiph.org>2008-01-19 01:56:41 +0000
commitae37a921c87fa76353874bc12dde3dfaeefd81f4 (patch)
treefcd9e65463ad769997be75eb174f9cfd6467f300
parent64350e068cb8488c1fec8e8c870dce936267e057 (diff)
downloadtremor-ae37a921c87fa76353874bc12dde3dfaeefd81f4.tar.gz
correct way of detecting OS X
git-svn-id: https://svn.xiph.org/trunk/Tremor@14419 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r--os_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os_types.h b/os_types.h
index f33402e..b8ddb8e 100644
--- a/os_types.h
+++ b/os_types.h
@@ -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;