Namespace: dprintf() and getline() are in P1003.1-2008.

This commit is contained in:
das 2009-03-14 19:12:11 +00:00
parent 123dfb8ef4
commit bd350bd650

View File

@ -360,7 +360,7 @@ int vdprintf(int, const char * __restrict, __va_list);
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
#define _WITH_GETLINE
#elif defined(_POSIX_C_SOURCE)
#if _POSIX_C_SOURCE > 200809
#if _POSIX_C_SOURCE >= 200809
#define _WITH_GETLINE
#endif
#endif
@ -374,7 +374,7 @@ ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
#define _WITH_DPRINTF
#elif defined(_POSIX_C_SOURCE)
#if _POSIX_C_SOURCE > 200809
#if _POSIX_C_SOURCE >= 200809
#define _WITH_DPRINTF
#endif
#endif