Mercurial > sdl-ios-xcode
diff include/begin_code.h @ 346:a18ea34d9efe
Fixed precompiled headers on MacOS X
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 13 Apr 2002 20:33:15 +0000 |
parents | 9154ec9ca3d2 |
children | d9c2ab142f2f |
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 */