From e12289ea8893df49f9a751bbeb897226bfccf3a1 Mon Sep 17 00:00:00 2001 From: Packit Date: Oct 12 2020 11:50:26 +0000 Subject: Apply patch jsproperty-endian.patch patch_name: jsproperty-endian.patch present_in_specfile: true --- diff --git a/js/src/jsapi.h b/js/src/jsapi.h index 0f11787..f1c084f 100644 --- a/js/src/jsapi.h +++ b/js/src/jsapi.h @@ -1581,7 +1581,14 @@ struct JSPropertySpec { uintptr_t type; union { const char* string; +#if MOZ_BIG_ENDIAN && JS_BITS_PER_WORD == 64 + struct { + uint32_t padding; + int32_t int32; + }; +#else int32_t int32; +#endif }; };