diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-14 05:10:10 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-14 05:10:10 -0500 |
commit | 80695b1d1e64a026c473a33965e680444e863e34 (patch) | |
tree | ce661eebee55414fadb70ce322ccff6d63f078fb /include/bits/limits.h | |
parent | 7fe308eb9fbebdd39a2e17352b172aa00b381dba (diff) | |
download | musl-80695b1d1e64a026c473a33965e680444e863e34.tar.gz musl-80695b1d1e64a026c473a33965e680444e863e34.tar.bz2 musl-80695b1d1e64a026c473a33965e680444e863e34.tar.xz musl-80695b1d1e64a026c473a33965e680444e863e34.zip |
begin namespace-cleanup of standard C headers
Diffstat (limited to 'include/bits/limits.h')
-rw-r--r-- | include/bits/limits.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/bits/limits.h b/include/bits/limits.h index 48fdd7a1..f5778579 100644 --- a/include/bits/limits.h +++ b/include/bits/limits.h @@ -1,3 +1,5 @@ +#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) #define PIPE_BUF 4096 #define PAGESIZE 4096 #define PAGE_SIZE PAGESIZE @@ -10,9 +12,9 @@ #define ARG_MAX 131072 #define IOV_MAX 1024 #define SYMLOOP_MAX 40 - #define WORD_BIT 32 #define LONG_BIT 32 +#endif #define SHRT_MIN (-1-0x7fff) #define SHRT_MAX 0x7fff @@ -29,4 +31,3 @@ #define LLONG_MIN (-1-0x7fffffffffffffffLL) #define LLONG_MAX 0x7fffffffffffffffLL #define ULLONG_MAX 0xffffffffffffffffULL - |