summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2017-02-09 10:43:13 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2017-02-09 10:43:13 -0500
commit2be5445f1d34ed3708357d23b16fa3d13c34dfa2 (patch)
treecfc77858cac0e21f79b8c31dff8328d7aabdc28e /src/third_party
parentadd23651e74f09a71f48736ad3880d5cad03dfcb (diff)
downloadmongo-2be5445f1d34ed3708357d23b16fa3d13c34dfa2.tar.gz
SERVER-20811 SpiderMonkey js-confdefs.h missing Windows defines
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/mozjs-45/platform/x86_64/windows/build/js-confdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/third_party/mozjs-45/platform/x86_64/windows/build/js-confdefs.h b/src/third_party/mozjs-45/platform/x86_64/windows/build/js-confdefs.h
index fbbdf58b741..4bcf6372758 100644
--- a/src/third_party/mozjs-45/platform/x86_64/windows/build/js-confdefs.h
+++ b/src/third_party/mozjs-45/platform/x86_64/windows/build/js-confdefs.h
@@ -59,6 +59,14 @@
//#define _WIN32_WINNT 0x502
#define _WINDOWS 1
+// SERVER-20811 - Define manually since ESR 45 configure does not set them on Windows
+#define HAVE_ACOSH 1
+#define HAVE_ASINH 1
+#define HAVE_ATANH 1
+#define HAVE_CBRT 1
+#define HAVE_EXPM1 1
+#define HAVE_LOG1P 1
+
#include "js/RequiredDefines.h"
#endif /* js_confdefs_h */