changeset 346:a18ea34d9efe

Fixed precompiled headers on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Sat, 13 Apr 2002 20:33:15 +0000
parents 05b97424225f
children 1b89c9ca9246
files include/begin_code.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/include/begin_code.h	Sat Apr 13 18:08:45 2002 +0000
+++ b/include/begin_code.h	Sat Apr 13 20:33:15 2002 +0000
@@ -125,6 +125,7 @@
 #endif
 
 /* Apparently this is needed by several Windows compilers */
+#if !defined(__MACH__)
 #ifndef NULL
 #ifdef __cplusplus
 #define NULL 0
@@ -132,3 +133,4 @@
 #define NULL ((void *)0)
 #endif
 #endif /* NULL */
+#endif /* ! MacOS X - breaks precompiled headers */