summaryrefslogtreecommitdiff
path: root/arch/sh/bits/alltypes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/bits/alltypes.h.in')
-rw-r--r--arch/sh/bits/alltypes.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/bits/alltypes.h.in b/arch/sh/bits/alltypes.h.in
index 5952e9e6..9656416e 100644
--- a/arch/sh/bits/alltypes.h.in
+++ b/arch/sh/bits/alltypes.h.in
@@ -8,6 +8,8 @@
#define __BYTE_ORDER 1234
#endif
+#define __LONG_MAX 0x7fffffffL
+
#ifndef __cplusplus
#ifdef __WCHAR_TYPE__
TYPEDEF __WCHAR_TYPE__ wchar_t;