svn commit: r189818 - head/include
David Schultz
das at FreeBSD.org
Sat Mar 14 12:12:12 PDT 2009
Author: das
Date: Sat Mar 14 19:12:11 2009
New Revision: 189818
URL: http://svn.freebsd.org/changeset/base/189818
Log:
Namespace: dprintf() and getline() are in P1003.1-2008.
Modified:
head/include/stdio.h
Modified: head/include/stdio.h
==============================================================================
--- head/include/stdio.h Sat Mar 14 19:11:08 2009 (r189817)
+++ head/include/stdio.h Sat Mar 14 19:12:11 2009 (r189818)
@@ -360,7 +360,7 @@ int vdprintf(int, const char * __restri
#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, siz
#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
More information about the svn-src-head
mailing list