summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysif.c')
-rw-r--r--sysif.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysif.c b/sysif.c
index 6d742b35..aa36c3a6 100644
--- a/sysif.c
+++ b/sysif.c
@@ -1492,7 +1492,9 @@ static val crypt_wrap(val wkey, val wsalt)
#endif
-off_t off_t_num(val num, val self)
+#if HAVE_FSEEKO
+
+static off_t off_t_num(val num, val self)
{
switch (CHAR_BIT * sizeof(off_t)) {
case 32:
@@ -1504,7 +1506,7 @@ off_t off_t_num(val num, val self)
}
}
-val num_off_t(off_t off)
+static val num_off_t(off_t off)
{
if (sizeof (off_t) <= sizeof (cnum)) {
return num(off);
@@ -1517,6 +1519,8 @@ val num_off_t(off_t off)
}
}
+#endif
+
val stdio_ftell(FILE *f)
{
#if HAVE_FSEEKO