Bug 1368038 - Fix missing _ABI64 definition on 32-bits mips. r=kaie
authorMike Hommey <mh@glandium.org>
Sat, 17 Jun 2017 06:50:51 +0900
changeset 4740 e65ff8a9b3b4dd1ee43fef1c5f065f5531f6a897
parent 4739 7fc298409c446f7f913e227176fc0f3bb33a8772
child 4741 3b44b3fccb507145ddac15a6de2f659bfc115412
push id258
push usermh@glandium.org
push dateWed, 21 Jun 2017 21:26:09 +0000
reviewerskaie
bugs1368038
Bug 1368038 - Fix missing _ABI64 definition on 32-bits mips. r=kaie
pr/include/md/_linux.cfg
--- a/pr/include/md/_linux.cfg
+++ b/pr/include/md/_linux.cfg
@@ -493,16 +493,19 @@
 #define PR_ALIGN_OF_POINTER 4
 #define PR_ALIGN_OF_WORD    4
 
 #define PR_BYTES_PER_WORD_LOG2   2
 #define PR_BYTES_PER_DWORD_LOG2  3
 
 #elif defined(__mips__)
 
+/* For _ABI64 */
+#include <sgidefs.h>
+
 #ifdef __MIPSEB__
 #define IS_BIG_ENDIAN 1
 #undef  IS_LITTLE_ENDIAN
 #elif defined(__MIPSEL__)
 #define IS_LITTLE_ENDIAN 1
 #undef  IS_BIG_ENDIAN
 #else
 #error "Unknown MIPS endianness."