Merge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"
This commit is contained in:
commit
a9944cfe9e
@ -89,6 +89,22 @@
|
|||||||
#include <sys/syslimits.h>
|
#include <sys/syslimits.h>
|
||||||
#endif
|
#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
|
#ifndef PAGESIZE
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#define PAGESIZE PAGE_SIZE
|
#define PAGESIZE PAGE_SIZE
|
||||||
|
@ -310,9 +310,4 @@ extern void __pthread_cleanup_pop(__pthread_cleanup_t* c,
|
|||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************ TO FIX ************/
|
|
||||||
|
|
||||||
#define LONG_LONG_MAX __LONG_LONG_MAX__
|
|
||||||
#define LONG_LONG_MIN (-__LONG_LONG_MAX__ - 1)
|
|
||||||
|
|
||||||
#endif /* _PTHREAD_H_ */
|
#endif /* _PTHREAD_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user