Fixed precompiled headers on MacOS X
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40347
This commit is contained in:
parent
1eca7853fd
commit
4bf624786e
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Apparently this is needed by several Windows compilers */
|
/* Apparently this is needed by several Windows compilers */
|
||||||
|
#if !defined(__MACH__)
|
||||||
#ifndef NULL
|
#ifndef NULL
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define NULL 0
|
#define NULL 0
|
||||||
|
@ -132,3 +133,4 @@
|
||||||
#define NULL ((void *)0)
|
#define NULL ((void *)0)
|
||||||
#endif
|
#endif
|
||||||
#endif /* NULL */
|
#endif /* NULL */
|
||||||
|
#endif /* ! MacOS X - breaks precompiled headers */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue