summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-12-28 18:24:07 +0000
committerUlrich Drepper <drepper@redhat.com>1997-12-28 18:24:07 +0000
commitcc3685d59ff6d867998d48c0f7535715d5030078 (patch)
treec1a5092fa0001a26e9c827ec9706352088c5da04
parent50b73048e7842d40c716e06eebde111bd1a37348 (diff)
Correctly handle inclusion by stdio.h.
-rw-r--r--sysdeps/posix/mk-stdiolim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/posix/mk-stdiolim.c b/sysdeps/posix/mk-stdiolim.c
index 3fb58ec4b8..8bc7a8ba01 100644
--- a/sysdeps/posix/mk-stdiolim.c
+++ b/sysdeps/posix/mk-stdiolim.c
@@ -23,7 +23,7 @@ main()
{
/* These values correspond to the code in sysdeps/posix/tempname.c.
Change the values here if you change that code. */
- puts ("#ifndef __need_FOPEN_MAX");
+ puts ("#ifdef _STDIO_H");
printf("#define L_tmpnam %u\n", sizeof("/usr/tmp/") + 9);
printf("#define TMP_MAX %u\n", 62 * 62 * 62);
@@ -48,6 +48,7 @@ main()
#endif
);
+ puts ("#undef __need_FOPEN_MAX");
puts ("#define __need_FOPEN_MAX 1");
puts ("#endif\n");