aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/tmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tmpfile.c')
-rw-r--r--stdio-common/tmpfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdio-common/tmpfile.c b/stdio-common/tmpfile.c
index c6da9ac..6a4d48e 100644
--- a/stdio-common/tmpfile.c
+++ b/stdio-common/tmpfile.c
@@ -58,6 +58,10 @@ tmpfile (void)
return f;
}
+#if !defined O_LARGEFILE || O_LARGEFILE == 0
+weak_alias (__new_tmpfile, tmpfile64)
+#endif
+
#ifndef FLAGS /* Not for tmpfile64. */
# undef tmpfile
# include <shlib-compat.h>