mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Namespace: dprintf() and getline() are in P1003.1-2008.
This commit is contained in:
parent
cc4603df21
commit
44bf9512a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189818
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user