diff options
author | tnn <tnn@pkgsrc.org> | 2007-04-15 11:23:07 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-04-15 11:23:07 +0000 |
commit | b644e5d0aa583079f407feb4036a0d503c9a414b (patch) | |
tree | 7c01af6d12a5e49727845fc19e60326f52df54dd /devel/bmake/files | |
parent | b00429f229493e3744c8d322e2f782487ed8f4af (diff) | |
download | pkgsrc-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.c | 6 |
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 |