blob: 3719d6452a2828cf9580e9897262d8b29ac136ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
--- a/nspr/pr/include/md/_linux.cfg
+++ b/nspr/pr/include/md/_linux.cfg
@@ -498,8 +498,8 @@
#elif defined(__mips__)
-/* For _ABI64 */
-#include <sgidefs.h>
+/* For _MIPS_SIM_ABI64 */
+#include <asm/sgidefs.h>
#ifdef __MIPSEB__
#define IS_BIG_ENDIAN 1
@@ -511,7 +511,7 @@
#error "Unknown MIPS endianness."
#endif
-#if _MIPS_SIM == _ABI64
+#if _MIPS_SIM == _MIPS_SIM_ABI64
#define IS_64
@@ -555,7 +555,7 @@
#define PR_BYTES_PER_WORD_LOG2 3
#define PR_BYTES_PER_DWORD_LOG2 3
-#else /* _ABI64 */
+#else /* _MIPS_SIM_ABI64 */
#define PR_BYTES_PER_BYTE 1
#define PR_BYTES_PER_SHORT 2
@@ -597,7 +597,7 @@
#define PR_BYTES_PER_WORD_LOG2 2
#define PR_BYTES_PER_DWORD_LOG2 3
-#endif /* _ABI64 */
+#endif /* _MIPS_SIM_ABI64 */
#elif defined(__arm__)
|