diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-01-02 14:22:35 -0500 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-01-11 13:41:25 -0500 |
commit | ea16961df10d6ee0b45942bef4657fe553b39d48 (patch) | |
tree | dae6d03cc7953af9fd88d122d165b77293c1fbd7 /src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src6.cpp | |
parent | 5e28f4a35229422ec48ba7611e67b414b0eeb77f (diff) | |
download | mongo-ea16961df10d6ee0b45942bef4657fe553b39d48.tar.gz |
SERVER-28123 enable building spidermonkey on iOS
Diffstat (limited to 'src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src6.cpp')
-rw-r--r-- | src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src6.cpp | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src6.cpp b/src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src6.cpp new file mode 100644 index 00000000000..9ecdbf94ad4 --- /dev/null +++ b/src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src6.cpp @@ -0,0 +1,55 @@ +#define MOZ_UNIFIED_BUILD +#include "gc/Marking.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "gc/Marking.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 "gc/Marking.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "gc/Memory.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "gc/Memory.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 "gc/Memory.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "gc/MemoryProfiler.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "gc/MemoryProfiler.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 "gc/MemoryProfiler.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "gc/Nursery.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "gc/Nursery.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 "gc/Nursery.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "gc/RootMarking.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "gc/RootMarking.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 "gc/RootMarking.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "gc/Statistics.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "gc/Statistics.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 "gc/Statistics.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif |