From 44bf9512a826abf6f53b5227aef43f2af5a83cf6 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Sat, 14 Mar 2009 19:12:11 +0000 Subject: [PATCH] Namespace: dprintf() and getline() are in P1003.1-2008. --- include/stdio.h | 4 ++-- 1 file 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