diff options
Diffstat (limited to '8/platforms/android-9/arch-x86/usr/include/limits.h')
-rw-r--r-- | 8/platforms/android-9/arch-x86/usr/include/limits.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/8/platforms/android-9/arch-x86/usr/include/limits.h b/8/platforms/android-9/arch-x86/usr/include/limits.h index 1de8ea6..b9d4354 100644 --- a/8/platforms/android-9/arch-x86/usr/include/limits.h +++ b/8/platforms/android-9/arch-x86/usr/include/limits.h @@ -89,7 +89,24 @@ #include <sys/syslimits.h> #endif +/* GLibc compatibility definitions. + Note that these are defined by GCC's <limits.h> + only when __GNU_LIBRARY__ is defined, i.e. when + targetting GLibc. */ +#ifndef LONG_LONG_MIN +#define LONG_LONG_MIN LLONG_MIN +#endif + +#ifndef LONG_LONG_MAX +#define LONG_LONG_MAX LLONG_MAX +#endif + +#ifndef ULONG_LONG_MAX +#define ULONG_LONG_MAX ULLONG_MAX +#endif + #ifndef PAGESIZE +#include <asm/page.h> #define PAGESIZE PAGE_SIZE #endif |