summaryrefslogtreecommitdiff
path: root/gl/tests/test-fseeko.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-11-09 17:26:51 +0100
committerSimon Josefsson <simon@josefsson.org>2009-11-09 17:26:51 +0100
commit1508911db0bf21fc1a881ec99d775e1b6838daa9 (patch)
treea10e4a0930b63d5889678b588f8c7a945bfb1184 /gl/tests/test-fseeko.c
parent1e93f63c9d684b44844e8fef57b0a655d39626fe (diff)
downloadgnutls-1508911db0bf21fc1a881ec99d775e1b6838daa9.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/tests/test-fseeko.c')
-rw-r--r--gl/tests/test-fseeko.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gl/tests/test-fseeko.c b/gl/tests/test-fseeko.c
index 9c284da500..93b0adc361 100644
--- a/gl/tests/test-fseeko.c
+++ b/gl/tests/test-fseeko.c
@@ -21,6 +21,12 @@
#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 \
{ \