summaryrefslogtreecommitdiff
path: root/arch/microblaze/bits
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/bits')
-rw-r--r--arch/microblaze/bits/alltypes.h.in2
-rw-r--r--arch/microblaze/bits/limits.h7
2 files changed, 2 insertions, 7 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
diff --git a/arch/microblaze/bits/limits.h b/arch/microblaze/bits/limits.h
deleted file mode 100644
index fbc6d238..00000000
--- a/arch/microblaze/bits/limits.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
- || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-#define LONG_BIT 32
-#endif
-
-#define LONG_MAX 0x7fffffffL
-#define LLONG_MAX 0x7fffffffffffffffLL