OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b55793d
)
Support tmpfile64 (just a weak for tmpfile)
author
Eric Andersen
<andersen@codepoet.org>
Sun, 6 Jan 2002 09:13:00 +0000
(09:13 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sun, 6 Jan 2002 09:13:00 +0000
(09:13 -0000)
-Erik
libc/stdio/tmpfile.c
patch
|
blob
|
history
diff --git
a/libc/stdio/tmpfile.c
b/libc/stdio/tmpfile.c
index
8c11d2f
..
7669e46
100644
(file)
--- a/
libc/stdio/tmpfile.c
+++ b/
libc/stdio/tmpfile.c
@@
-16,6
+16,7
@@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <features.h>
#include <stdio.h>
#include <unistd.h>
@@
-48,4
+49,6
@@
FILE * tmpfile (void)
return f;
}
-
+#ifdef __UCLIBC_HAVE_LFS__
+weak_alias(tmpfile, tmpfile64);
+#endif