comparison 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
comparison
equal deleted inserted replaced
345:05b97424225f 346:a18ea34d9efe
123 #ifndef SDL_INLINE_OKAY 123 #ifndef SDL_INLINE_OKAY
124 #define __inline__ 124 #define __inline__
125 #endif 125 #endif
126 126
127 /* Apparently this is needed by several Windows compilers */ 127 /* Apparently this is needed by several Windows compilers */
128 #if !defined(__MACH__)
128 #ifndef NULL 129 #ifndef NULL
129 #ifdef __cplusplus 130 #ifdef __cplusplus
130 #define NULL 0 131 #define NULL 0
131 #else 132 #else
132 #define NULL ((void *)0) 133 #define NULL ((void *)0)
133 #endif 134 #endif
134 #endif /* NULL */ 135 #endif /* NULL */
136 #endif /* ! MacOS X - breaks precompiled headers */