--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src42.cpp.orig 2019-11-14 10:50:10 UTC +++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src42.cpp @@ -0,0 +1,55 @@ +#define MOZ_UNIFIED_BUILD +#include "wasm/WasmBinaryIterator.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "wasm/WasmBinaryIterator.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 "wasm/WasmBinaryIterator.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "wasm/WasmBinaryToAST.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "wasm/WasmBinaryToAST.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 "wasm/WasmBinaryToAST.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "wasm/WasmBinaryToText.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "wasm/WasmBinaryToText.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 "wasm/WasmBinaryToText.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "wasm/WasmBuiltins.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "wasm/WasmBuiltins.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 "wasm/WasmBuiltins.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "wasm/WasmCode.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "wasm/WasmCode.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 "wasm/WasmCode.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "wasm/WasmCompartment.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "wasm/WasmCompartment.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 "wasm/WasmCompartment.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif \ No newline at end of file