Sync from gnulib.
authorJim Meyering <jim@meyering.net>
Wed, 11 Dec 2002 07:21:42 +0000 (07:21 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 11 Dec 2002 07:21:42 +0000 (07:21 +0000)
lib/unlocked-io.h

index 2804fa9cbe7790eabea29966da9908755fe31c0e..a7240fb9177b5e7cd7aec76beea2e96781e0c892 100644 (file)
    more efficient but not thread-safe.  That they're not thread-safe is
    fine since all of the applications in this package are single threaded.  */
 
-#  if HAVE_CLEARERR_UNLOCKED
+#  if HAVE_DECL_CLEARERR_UNLOCKED
 #   undef clearerr
 #   define clearerr(x) clearerr_unlocked (x)
 #  endif
-#  if HAVE_FEOF_UNLOCKED
+#  if HAVE_DECL_FEOF_UNLOCKED
 #   undef feof
 #   define feof(x) feof_unlocked (x)
 #  endif
-#  if HAVE_FERROR_UNLOCKED
+#  if HAVE_DECL_FERROR_UNLOCKED
 #   undef ferror
 #   define ferror(x) ferror_unlocked (x)
 #  endif
-#  if HAVE_FFLUSH_UNLOCKED
+#  if HAVE_DECL_FFLUSH_UNLOCKED
 #   undef fflush
 #   define fflush(x) fflush_unlocked (x)
 #  endif
-#  if HAVE_FGETS_UNLOCKED
+#  if HAVE_DECL_FGETS_UNLOCKED
 #   undef fgets
 #   define fgets(x,y,z) fgets_unlocked (x,y,z)
 #  endif
-#  if HAVE_FPUTC_UNLOCKED
+#  if HAVE_DECL_FPUTC_UNLOCKED
 #   undef fputc
 #   define fputc(x,y) fputc_unlocked (x,y)
 #  endif
-#  if HAVE_FPUTS_UNLOCKED
+#  if HAVE_DECL_FPUTS_UNLOCKED
 #   undef fputs
 #   define fputs(x,y) fputs_unlocked (x,y)
 #  endif
-#  if HAVE_FREAD_UNLOCKED
+#  if HAVE_DECL_FREAD_UNLOCKED
 #   undef fread
 #   define fread(w,x,y,z) fread_unlocked (w,x,y,z)
 #  endif
-#  if HAVE_FWRITE_UNLOCKED
+#  if HAVE_DECL_FWRITE_UNLOCKED
 #   undef fwrite
 #   define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z)
 #  endif
-#  if HAVE_GETC_UNLOCKED
+#  if HAVE_DECL_GETC_UNLOCKED
 #   undef getc
 #   define getc(x) getc_unlocked (x)
 #  endif
-#  if HAVE_GETCHAR_UNLOCKED
+#  if HAVE_DECL_GETCHAR_UNLOCKED
 #   undef getchar
 #   define getchar() getchar_unlocked ()
 #  endif
-#  if HAVE_PUTC_UNLOCKED
+#  if HAVE_DECL_PUTC_UNLOCKED
 #   undef putc
 #   define putc(x,y) putc_unlocked (x,y)
 #  endif
-#  if HAVE_PUTCHAR_UNLOCKED
+#  if HAVE_DECL_PUTCHAR_UNLOCKED
 #   undef putchar
 #   define putchar(x) putchar_unlocked (x)
 #  endif