From 2a830fdb6ad9c42eec339a82605fc3f325b7932e Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 10 May 2016 09:02:58 +0000 Subject: [PATCH] Support building with mozjs 31.5 used in Ubuntu PPA. Fixes #3039. This was SVN commit r18153. --- source/scriptinterface/ScriptTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/scriptinterface/ScriptTypes.h b/source/scriptinterface/ScriptTypes.h index 82e6a42ddc..03d7d1302c 100644 --- a/source/scriptinterface/ScriptTypes.h +++ b/source/scriptinterface/ScriptTypes.h @@ -79,7 +79,7 @@ system-installed version. Make sure you have got all the right files and \ include paths. #endif -#if MOZJS_MINOR_VERSION != 2 && MOZJS_MINOR_VERSION != 4 +#if MOZJS_MINOR_VERSION != 2 && MOZJS_MINOR_VERSION != 4 && MOZJS_MINOR_VERSION != 5 #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 \