diff options
| author | drochner <drochner@NetBSD.org> | 2000-05-04 18:29:53 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2000-05-04 18:29:53 +0000 |
| commit | df45d3b6cf2eb29bbedf3931e903daa8f61d91ba (patch) | |
| tree | ac8b4dc313cf3d91c93fba2dda21286ed03e0c44 /usr.bin/make | |
| parent | 16bad8ee40b4a3c8e6369b68215161f9286ef9a8 (diff) | |
support OSF/1
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/util.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.bin/make/util.c b/usr.bin/make/util.c index 9fd69ec3ca9..4ccd49d6bbc 100644 --- a/usr.bin/make/util.c +++ b/usr.bin/make/util.c @@ -1,15 +1,15 @@ -/* $NetBSD: util.c,v 1.24 2000/01/06 22:23:20 wrstuden Exp $ */ +/* $NetBSD: util.c,v 1.25 2000/05/04 18:29:53 drochner Exp $ */ /* * Missing stuff from OS's */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: util.c,v 1.24 2000/01/06 22:23:20 wrstuden Exp $"; +static char rcsid[] = "$NetBSD: util.c,v 1.25 2000/05/04 18:29:53 drochner Exp $"; #else #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: util.c,v 1.24 2000/01/06 22:23:20 wrstuden Exp $"); +__RCSID("$NetBSD: util.c,v 1.25 2000/05/04 18:29:53 drochner Exp $"); #endif #endif @@ -366,13 +366,15 @@ signal(s, a)) __P((int)) #include <varargs.h> #endif +#if !defined(__osf__) #ifdef _IOSTRG #define STRFLAG (_IOSTRG|_IOWRT) /* no _IOWRT: avoid stdio bug */ #else #if 0 #define STRFLAG (_IOREAD) /* XXX: Assume svr4 stdio */ #endif -#endif +#endif /* _IOSTRG */ +#endif /* __osf__ */ int vsnprintf(s, n, fmt, args) @@ -432,7 +434,8 @@ snprintf(va_alist) return rv; } -#if !defined(__SVR4) && !defined(__linux__) && !defined(ultrix) && !defined(__sgi) +#if !defined(__SVR4) && !defined(__linux__) && !defined(ultrix) \ + && !defined(__sgi) && !defined(__osf__) int strftime(buf, len, fmt, tm) |
