pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bmake/files Correct hpux ifdefs. hpux 11 and up ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3bb7617029f9
branches: trunk
changeset: 527875:3bb7617029f9
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Apr 15 11:23:07 2007 +0000
description:
Correct hpux ifdefs. hpux 11 and up doesn't define __HPUX_VERSION.
Changes have no effect on other platforms. Patch sent to sjg@
diffstat:
devel/bmake/files/sigcompat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r d07296ceab5a -r 3bb7617029f9 devel/bmake/files/sigcompat.c
--- a/devel/bmake/files/sigcompat.c Sun Apr 15 11:15:22 2007 +0000
+++ b/devel/bmake/files/sigcompat.c Sun Apr 15 11:23:07 2007 +0000
@@ -98,7 +98,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)sigcompat.c 5.3 (Berkeley) 2/24/91";*/
-static char *rcsid = "$Id: sigcompat.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $";
+static char *rcsid = "$Id: sigcompat.c,v 1.2 2007/04/15 11:23:07 tnn Exp $";
#endif /* LIBC_SCCS and not lint */
#undef signal
@@ -126,14 +126,14 @@
#endif
#ifndef MASK_T
-# ifdef __hpux__
+# ifdef __hpux
# define MASK_T long
# else
# define MASK_T int
# endif
#endif
/* I just hate HPsUX */
-#if defined(__HPUX_VERSION) && __HPUX_VERSION > 9
+#if defined(__hpux) && !defined(__HPUX_VERSION)
# define PAUSE_MASK_T int
#else
# define PAUSE_MASK_T MASK_T
Home |
Main Index |
Thread Index |
Old Index