summaryrefslogtreecommitdiff
path: root/arch/or1k/bits/alltypes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/or1k/bits/alltypes.h.in')
-rw-r--r--arch/or1k/bits/alltypes.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/or1k/bits/alltypes.h.in b/arch/or1k/bits/alltypes.h.in
index a2cae2b6..f16a3763 100644
--- a/arch/or1k/bits/alltypes.h.in
+++ b/arch/or1k/bits/alltypes.h.in
@@ -3,6 +3,7 @@
#define _Reg int
#define __BYTE_ORDER 4321
+#define __LONG_MAX 0x7fffffffL
#ifndef __cplusplus
TYPEDEF unsigned wchar_t;