summarylogtreecommitdiffstats
path: root/0003-Do-not-replace-ftell-and-fseek.patch
blob: 691514907a2c8cdccc42aeea6f13a945e6a783c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/configure
+++ b/configure
@@ -1289,17 +1289,6 @@
     cc_check '' -fno-zero-initialized-in-bss && CFLAGS="$CFLAGS -fno-zero-initialized-in-bss"
 fi
 
-if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then
-    define fseek fseeko
-    define ftell ftello
-elif cc_check "stdio.h" "" "fseeko64(stdin,0,0);" ; then
-    define fseek fseeko64
-    define ftell ftello64
-elif cc_check "stdio.h" "" "_fseeki64(stdin,0,0);" ; then
-    define fseek _fseeki64
-    define ftell _ftelli64
-fi
-
 if cc_check '' -Wshadow ; then
     CFLAGS="-Wshadow $CFLAGS"
 fi