summaryrefslogtreecommitdiff
path: root/devel/bmake/files
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-04-15 11:23:07 +0000
committertnn <tnn@pkgsrc.org>2007-04-15 11:23:07 +0000
commitb644e5d0aa583079f407feb4036a0d503c9a414b (patch)
tree7c01af6d12a5e49727845fc19e60326f52df54dd /devel/bmake/files
parentb00429f229493e3744c8d322e2f782487ed8f4af (diff)
downloadpkgsrc-b644e5d0aa583079f407feb4036a0d503c9a414b.tar.gz
Correct hpux ifdefs. hpux 11 and up doesn't define __HPUX_VERSION.
Changes have no effect on other platforms. Patch sent to sjg@
Diffstat (limited to 'devel/bmake/files')
-rw-r--r--devel/bmake/files/sigcompat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/bmake/files/sigcompat.c b/devel/bmake/files/sigcompat.c
index b196ac995b6..5d45363a766 100644
--- a/devel/bmake/files/sigcompat.c
+++ b/devel/bmake/files/sigcompat.c
@@ -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 @@ static char *rcsid = "$Id: sigcompat.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $";
#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