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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user