summaryrefslogtreecommitdiff
path: root/src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src36.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src36.cpp')
-rw-r--r--src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src36.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src36.cpp b/src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src36.cpp
new file mode 100644
index 00000000000..a4323d8f153
--- /dev/null
+++ b/src/third_party/mozjs-45/platform/x86_64/tvOS-sim/build/Unified_cpp_js_src36.cpp
@@ -0,0 +1,28 @@
+#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."
+#undef PL_ARENA_CONST_ALIGN_MASK
+#endif
+#ifdef INITGUID
+#error "vm/WeakMapPtr.cpp defines INITGUID, so it cannot be built in unified mode."
+#undef INITGUID
+#endif
+#include "vm/Xdr.cpp"
+#ifdef PL_ARENA_CONST_ALIGN_MASK
+#error "vm/Xdr.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/Xdr.cpp defines INITGUID, so it cannot be built in unified mode."
+#undef INITGUID
+#endif