# HG changeset patch # User Sam Lantinga # Date 1018729995 0 # Node ID a18ea34d9efe59fb21a0c9e1d72aafdc3a13eef8 # Parent 05b97424225fc2114d820c1ae41dd49efa0d7f38 Fixed precompiled headers on MacOS X diff -r 05b97424225f -r a18ea34d9efe include/begin_code.h --- 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 */