Skip to content

Commit

Permalink
Fixed precompiled headers on MacOS X
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Apr 13, 2002
1 parent 961a9b9 commit 812b453
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/begin_code.h
Expand Up @@ -125,10 +125,12 @@
#endif

/* Apparently this is needed by several Windows compilers */
#if !defined(__MACH__)
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif /* NULL */
#endif /* ! MacOS X - breaks precompiled headers */

0 comments on commit 812b453

Please sign in to comment.