Fixed precompiled headers on MacOS X
authorSam Lantinga <slouken@libsdl.org>
Sat, 13 Apr 2002 20:33:15 +0000
changeset 346a18ea34d9efe
parent 345 05b97424225f
child 347 1b89c9ca9246
Fixed precompiled headers on MacOS X
include/begin_code.h
     1.1 --- a/include/begin_code.h	Sat Apr 13 18:08:45 2002 +0000
     1.2 +++ b/include/begin_code.h	Sat Apr 13 20:33:15 2002 +0000
     1.3 @@ -125,6 +125,7 @@
     1.4  #endif
     1.5  
     1.6  /* Apparently this is needed by several Windows compilers */
     1.7 +#if !defined(__MACH__)
     1.8  #ifndef NULL
     1.9  #ifdef __cplusplus
    1.10  #define NULL 0
    1.11 @@ -132,3 +133,4 @@
    1.12  #define NULL ((void *)0)
    1.13  #endif
    1.14  #endif /* NULL */
    1.15 +#endif /* ! MacOS X - breaks precompiled headers */