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

This commit is contained in:
David Schultz 2009-03-14 19:12:11 +00:00
parent cc4603df21
commit 44bf9512a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189818

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