59 lines
2.2 KiB
C++
59 lines
2.2 KiB
C++
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp.orig 2018-07-09 06:37:13 UTC
|
|
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/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
|