forked from mirrors/0ad
Remove check for SpiderMonkey minor version
This commit is contained in:
@@ -81,23 +81,9 @@
|
||||
|
||||
#if MOZJS_MAJOR_VERSION != 115
|
||||
#error Your compiler is trying to use an incorrect major version of the \
|
||||
SpiderMonkey library. The only version that works is the one in the \
|
||||
libraries/spidermonkey/ directory, and it will not work with a typical \
|
||||
system-installed version. Make sure you have got all the right files and \
|
||||
include paths.
|
||||
#endif
|
||||
|
||||
#if MOZJS_MINOR_VERSION != 16
|
||||
#error Your compiler is trying to use an untested minor version of the \
|
||||
SpiderMonkey library. If you are a package maintainer, please make sure \
|
||||
to check very carefully that this version does not change the behaviour \
|
||||
of the code executed by SpiderMonkey. Different parts of the game (e.g. \
|
||||
the multiplayer mode) rely on deterministic behaviour of the JavaScript \
|
||||
engine. A simple way for testing this would be playing a network game \
|
||||
with one player using the old version and one player using the new \
|
||||
version. Another way for testing is running replays and comparing the \
|
||||
final hash (check trac.wildfiregames.com/wiki/Debugging#Replaymode). \
|
||||
For more information check this link: trac.wildfiregames.com/wiki/Debugging#Outofsync
|
||||
SpiderMonkey library. The SpiderMonkey API is subject to changes, and the \
|
||||
game will not build with the selected version of the library. Make sure \
|
||||
you have got all the right files and include paths.
|
||||
#endif
|
||||
|
||||
class ScriptInterface;
|
||||
|
||||
Reference in New Issue
Block a user