diff options
author | das <das@FreeBSD.org> | 2009-03-14 19:12:11 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-03-14 19:12:11 +0000 |
commit | bd350bd6508faaebf0a0a264871f2112964b90ee (patch) | |
tree | d56e323312e6cf1ff019214bf59a584cc46ccc67 /include | |
parent | 123dfb8ef4d3e31fdf86b7c502dc2a1b510e7ded (diff) | |
download | FreeBSD-src-bd350bd6508faaebf0a0a264871f2112964b90ee.zip FreeBSD-src-bd350bd6508faaebf0a0a264871f2112964b90ee.tar.gz |
Namespace: dprintf() and getline() are in P1003.1-2008.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h index 78c62e8..d9f3628 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -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 |