1
0
forked from mirrors/0ad

Be a bit more robust to build environment changes.

Reduce some module dependencies.
Clean up some unused instantiations.

This was SVN commit r9827.
This commit is contained in:
Ykkrosh
2011-07-15 13:22:48 +00:00
parent a3e88e6705
commit 8eb7af4ac9
6 changed files with 15 additions and 9 deletions
+10 -1
View File
@@ -20,7 +20,9 @@
#ifdef _WIN32
# define XP_WIN
# define WIN32 // SpiderMonkey expects this
# ifndef WIN32
# define WIN32 // SpiderMonkey expects this
# endif
// The jsval struct type causes crashes due to weird miscompilation
// issues in (at least) VC2008, so force it to be the less-type-safe
@@ -38,6 +40,13 @@
#include <cstring> // required by jsutil.h
// SpiderMonkey wants the DEBUG flag
#ifndef NDEBUG
# ifndef DEBUG
# define DEBUG
# endif
#endif
#include "js/jsapi.h"
#if JS_VERSION != 185