diff options
Diffstat (limited to 'stdio-common/tmpfile.c')
-rw-r--r-- | stdio-common/tmpfile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stdio-common/tmpfile.c b/stdio-common/tmpfile.c index c6da9acb0b..6a4d48e7be 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> |