Fix fseeko/ftello on cygwin 1.5.24.
[gnulib.git] / tests / test-fseeko.c
index 1b4c9e8..198cbfc 100644 (file)
@@ -27,8 +27,6 @@
 int
 main ()
 {
-  off_t pos = fseeko (stdin, (off_t)0, SEEK_CUR);
-  (void)pos;
-
-  return 0;
+  /* This test assumes stdin is seekable.  */
+  return fseeko (stdin, (off_t)0, SEEK_CUR) != 0;
 }