fflush, freadseek: use fseeko, not fseek
[gnulib.git] / tests / test-freading.c
index 0f8e686..dfa5ffb 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
+/* None of the files accessed by this test are large, so disable the
+   fseek link warning if we are not using the gnulib fseek module.  */
+#if !GNULIB_FSEEK
+# undef fseek
+#endif
+
 #define ASSERT(expr) \
   do                                                                        \
     {                                                                       \