diff options
Diffstat (limited to 'src/third_party/mozjs-45/platform/x86_64/macOS/build/Unified_cpp_js_src36.cpp')
-rw-r--r-- | src/third_party/mozjs-45/platform/x86_64/macOS/build/Unified_cpp_js_src36.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/third_party/mozjs-45/platform/x86_64/macOS/build/Unified_cpp_js_src36.cpp b/src/third_party/mozjs-45/platform/x86_64/macOS/build/Unified_cpp_js_src36.cpp index 643d64facab..a4323d8f153 100644 --- a/src/third_party/mozjs-45/platform/x86_64/macOS/build/Unified_cpp_js_src36.cpp +++ b/src/third_party/mozjs-45/platform/x86_64/macOS/build/Unified_cpp_js_src36.cpp @@ -1,4 +1,13 @@ #define MOZ_UNIFIED_BUILD +#include "vm/Value.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "vm/Value.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." +#undef PL_ARENA_CONST_ALIGN_MASK +#endif +#ifdef INITGUID +#error "vm/Value.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif #include "vm/WeakMapPtr.cpp" #ifdef PL_ARENA_CONST_ALIGN_MASK #error "vm/WeakMapPtr.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." |