begin namespace-cleanup of standard C headers

This commit is contained in:
Rich Felker 2011-02-14 05:10:10 -05:00
commit 80695b1d1e
7 changed files with 105 additions and 73 deletions

View file

@ -13,9 +13,13 @@
#define UCHAR_MAX 255
#define CHAR_MIN (-128)
#define CHAR_MAX 127
#define SSIZE_MAX LONG_MAX
#define MB_LEN_MAX 4
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
#define SSIZE_MAX LONG_MAX
#define TZNAME_MAX 6
#define TTY_NAME_MAX 20
#define HOST_NAME_MAX 255
@ -100,3 +104,5 @@
#define _XOPEN_PATH_MAX 1024
#endif
#endif