Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make support OSF/1



details:   https://anonhg.NetBSD.org/src/rev/b412f2de6ea4
branches:  trunk
changeset: 485753:b412f2de6ea4
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu May 04 18:29:53 2000 +0000

description:
support OSF/1

diffstat:

 usr.bin/make/util.c |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r dd02412b48da -r b412f2de6ea4 usr.bin/make/util.c
--- a/usr.bin/make/util.c       Thu May 04 18:29:34 2000 +0000
+++ b/usr.bin/make/util.c       Thu May 04 18:29:53 2000 +0000
@@ -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 @@
 #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 @@
        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)



Home | Main Index | Thread Index | Old Index