about summary refs log tree commit diff
path: root/arch/microblaze/bits/alltypes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/bits/alltypes.h.in')
-rw-r--r--arch/microblaze/bits/alltypes.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/bits/alltypes.h.in b/arch/microblaze/bits/alltypes.h.in
index daea3fcb..171ce71d 100644
--- a/arch/microblaze/bits/alltypes.h.in
+++ b/arch/microblaze/bits/alltypes.h.in
@@ -8,6 +8,8 @@
 #define __BYTE_ORDER 4321
 #endif
 
+#define __LONG_MAX 0x7fffffffL
+
 #ifndef __cplusplus
 TYPEDEF int wchar_t;
 #endif