diff options
| author | bjh21 <bjh21@NetBSD.org> | 2003-06-05 17:51:10 +0000 |
|---|---|---|
| committer | bjh21 <bjh21@NetBSD.org> | 2003-06-05 17:51:10 +0000 |
| commit | 9656aaa598074be8d22e69b5fdf4526da82e7477 (patch) | |
| tree | 65c6676fc1f291a984e262ac422e8cb5303bea5a /include/stdio.h | |
| parent | 37a103a1faab6376edcd23b0455b2cf16b79e809 (diff) | |
P_tmpdir isn't in POSIX, so only define it for _XOPEN_SOURCE and
_NETBSD_SOURCE.
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/stdio.h b/include/stdio.h index d8f559bb6de..247bf3c9361 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdio.h,v 1.51 2003/04/28 23:16:14 bjh21 Exp $ */ +/* $NetBSD: stdio.h,v 1.52 2003/06/05 17:51:10 bjh21 Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -189,8 +189,7 @@ __END_DECLS #define FILENAME_MAX 1024 /* must be <= PATH_MAX <sys/syslimits.h> */ /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ -#if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \ - defined(_NETBSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE) #define P_tmpdir "/var/tmp/" #endif #define L_tmpnam 1024 /* XXX must be == PATH_MAX */ |
