diff options
author | Alan Burlison <Alan.Burlison@uk.sun.com> | 2003-12-12 23:04:52 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-12-12 23:54:25 +0000 |
commit | 308d26d578ee2df470607dca403b28c61f26c974 (patch) | |
tree | 9f5ac19046d049359b35edbb674078efe380e087 | |
parent | 8df1e0a2b21ea34567b1f903327ae2a11bb9b86e (diff) | |
download | perl-308d26d578ee2df470607dca403b28c61f26c974.tar.gz |
Modify the common guard for the signal.h header, because
C99 compilers don't like it.o
see :
Subject: UNIX03 & C99 issue with 5.8.2
Message-ID: <3FDA4994.6050209@sun.com>
p4raw-id: //depot/perl@21883
-rw-r--r-- | doio.c | 2 | ||||
-rw-r--r-- | doop.c | 2 | ||||
-rw-r--r-- | mg.c | 2 | ||||
-rw-r--r-- | mpeix/mpeixish.h | 2 | ||||
-rw-r--r-- | plan9/plan9ish.h | 2 | ||||
-rw-r--r-- | unixish.h | 2 | ||||
-rw-r--r-- | util.c | 2 |
7 files changed, 7 insertions, 7 deletions
@@ -48,7 +48,7 @@ # define OPEN_EXCL 0 #endif -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) +#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) #include <signal.h> #endif @@ -17,7 +17,7 @@ #include "perl.h" #ifndef PERL_MICRO -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) +#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) #include <signal.h> #endif #endif @@ -398,7 +398,7 @@ Perl_mg_free(pTHX_ SV *sv) } -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) +#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) #include <signal.h> #endif diff --git a/mpeix/mpeixish.h b/mpeix/mpeixish.h index 658e72ef87..4e96f0ec4a 100644 --- a/mpeix/mpeixish.h +++ b/mpeix/mpeixish.h @@ -87,7 +87,7 @@ */ /* #define ALTERNATE_SHEBANG "#!" / **/ -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) +#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) # include <signal.h> #endif diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h index 5c922cf0ba..1469e10211 100644 --- a/plan9/plan9ish.h +++ b/plan9/plan9ish.h @@ -93,7 +93,7 @@ */ /* #define ALTERNATE_SHEBANG "#!" / **/ -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) +#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) # include <signal.h> #endif @@ -103,7 +103,7 @@ */ /* #define ALTERNATE_SHEBANG "#!" / **/ -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) # include <signal.h> #endif @@ -18,7 +18,7 @@ #include "perl.h" #ifndef PERL_MICRO -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) +#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) #include <signal.h> #endif |