define LONG_MAX via arch alltypes.h, strip down bits/limits.h
[musl] / arch / aarch64 / bits / alltypes.h.in
index ab2c6a2..60973f6 100644 (file)
@@ -8,6 +8,8 @@
 #define __BYTE_ORDER 1234
 #endif
 
+#define __LONG_MAX 0x7fffffffffffffffL
+
 #ifndef __cplusplus
 TYPEDEF unsigned wchar_t;
 #endif