Date: Sat, 14 Mar 2009 19:12:11 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189818 - head/include Message-ID: <200903141912.n2EJCB3P005433@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903141912.n2EJCB3P005433>