mirror of
https://github.com/yawut/SDL.git
synced 2026-08-11 11:35:36 -05:00
Fixed precompiled headers on MacOS X
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user