From 7c721d31e4b7a0bdf6f803b8e7c38996bf60b59f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 29 Jan 2012 17:48:54 +0100 Subject: tmpnam, tempnam are obsolete in SUSV4 Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/bits/stdio_lim.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/bits/stdio_lim.h') diff --git a/libc/sysdeps/linux/common/bits/stdio_lim.h b/libc/sysdeps/linux/common/bits/stdio_lim.h index c35ee601b..2c0b36fbd 100644 --- a/libc/sysdeps/linux/common/bits/stdio_lim.h +++ b/libc/sysdeps/linux/common/bits/stdio_lim.h @@ -21,7 +21,9 @@ #endif #ifdef _STDIO_H -# define L_tmpnam 20 +# ifdef __UCLIBC_SUSV4_LEGACY__ +# define L_tmpnam 20 +# endif # define TMP_MAX 238328 # define FILENAME_MAX 4095 -- cgit v1.2.3