diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-09-23 15:17:59 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-09-25 14:32:29 -0700 |
commit | 98e54608796785be979158050d5d81540f480b05 (patch) | |
tree | 4a3c55b342b999b2f363a0f8814d78a8fef30e33 /crawl-ref/source/AppHdr.h | |
parent | 0820d88b36d4e104776db303eabf10be575e3ab3 (diff) | |
download | crawl-ref-98e54608796785be979158050d5d81540f480b05.tar.gz crawl-ref-98e54608796785be979158050d5d81540f480b05.zip |
Xcode project fixes backported from 'master' branch
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 840480b808..bf4c551106 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -308,9 +308,11 @@ #ifdef USE_TILE +#ifdef __cplusplus #include "libgui.h" #include "tilesdl.h" #endif +#endif // ========================================================================= // Lua user scripts (NOTE: this may also be enabled in your makefile!) @@ -464,6 +466,7 @@ // #define NEED_SNPRINTF // Must include libutil.h here if one of the above is defined. +#ifdef __cplusplus #include "libutil.h" template < class T > @@ -474,5 +477,6 @@ inline void UNUSED(const volatile T &) // And now headers we want precompiled #include <externs.h> #include "version.h" +#endif #endif |