aboutsummaryrefslogtreecommitdiffstats
path: root/include/stdio.h
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2009-03-14 19:12:11 +0000
committerDavid Schultz <das@FreeBSD.org>2009-03-14 19:12:11 +0000
commit44bf9512a826abf6f53b5227aef43f2af5a83cf6 (patch)
treed56e323312e6cf1ff019214bf59a584cc46ccc67 /include/stdio.h
parentcc4603df216a34688ab2dbd26231fcc18d36925a (diff)
downloadsrc-44bf9512a826abf6f53b5227aef43f2af5a83cf6.tar.gz
src-44bf9512a826abf6f53b5227aef43f2af5a83cf6.zip
Namespace: dprintf() and getline() are in P1003.1-2008.
Notes
Notes: svn path=/head/; revision=189818
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 78c62e824f1d..d9f36289339c 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