about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-04 02:44:50 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-04 02:44:50 +0000
commit88641f05ae8d4f0d5da477c02baeb4a5d5ea0f4f (patch)
tree9dd2b089f8cd1a80f15296156618d9e6968857b2
parent22fd146d9161c1b1627fe8a2c5f07260e0c191fb (diff)
downloadglibc-88641f05ae8d4f0d5da477c02baeb4a5d5ea0f4f.tar.gz
glibc-88641f05ae8d4f0d5da477c02baeb4a5d5ea0f4f.tar.xz
glibc-88641f05ae8d4f0d5da477c02baeb4a5d5ea0f4f.zip
Make fseeko and ftello prototypes available is __USE_LARGEFILE.
-rw-r--r--libio/stdio.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index e40663c506..2d188cb087 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -488,7 +488,7 @@ typedef __off64_t off64_t;
 
 
 #ifndef __USE_FILE_OFFSET64
-# ifdef __USE_UNIX98
+# ifdef __USE_LARGEFILE
 /* Seek to a certain position on STREAM.  */
 extern int fseeko __P ((FILE *__stream, __off_t __off, int __whence));
 /* Return the current position of STREAM.  */
@@ -502,7 +502,7 @@ extern int fgetpos __P ((FILE *__restrict __stream,
 extern int fsetpos __P ((FILE *__stream, __const fpos_t *__pos));
 #else
 # ifdef __REDIRECT
-#  ifdef __USE_UNIX98
+#  ifdef __USE_LARGEFILE
 extern int __REDIRECT (fseeko,
 		       __P ((FILE *__stream, __off64_t __off, int __whence)),
 		       fseeko64);
@@ -513,7 +513,7 @@ extern int __REDIRECT (fgetpos, __P ((FILE *__restrict __stream,
 extern int __REDIRECT (fsetpos, __P ((FILE *__stream, __const fpos_t *__pos)),
 		       fsetpos64);
 # else
-#  ifdef __USE_UNIX98
+#  ifdef __USE_LARGEFILE
 #   define fseeko fseeko64
 #   define ftello ftello64
 #  endif
@@ -523,10 +523,8 @@ extern int __REDIRECT (fsetpos, __P ((FILE *__stream, __const fpos_t *__pos)),
 #endif
 
 #ifdef __USE_LARGEFILE64
-# ifdef __USE_UNIX98
 extern int fseeko64 __P ((FILE *__stream, __off64_t __off, int __whence));
 extern __off64_t ftello64 __P ((FILE *__stream));
-# endif
 extern int fgetpos64 __P ((FILE *__restrict __stream,
 			   fpos64_t *__restrict __pos));
 extern int fsetpos64 __P ((FILE *__stream, __const fpos64_t *__pos));