X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ferror.c;h=af2287b2713eaf792093e27adf7d7beeac99ac30;hb=b472b51e158594a679f8e49eea49cf14d1c3be9a;hp=f2d45d993ba719c6a90a98bdb070cfedc0f3920e;hpb=d19ab0454ad81cd702f17864f082aefcbea6687a;p=gnulib.git diff --git a/lib/error.c b/lib/error.c index f2d45d993..af2287b27 100644 --- a/lib/error.c +++ b/lib/error.c @@ -238,7 +238,7 @@ error (int status, int errnum, const char *message, ...) 0); #endif -#if !_LIBC +#if !_LIBC && defined F_GETFL /* POSIX states that fflush (stdout) after fclose is unspecified; it is safe in glibc, but not on all other platforms. fflush (NULL) is always defined, but too draconian. */ @@ -303,7 +303,7 @@ error_at_line (int status, int errnum, const char *file_name, 0); #endif -#if !_LIBC +#if !_LIBC && defined F_GETFL /* POSIX states that fflush (stdout) after fclose is unspecified; it is safe in glibc, but not on all other platforms. fflush (NULL) is always defined, but too draconian. */