mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
Remove incorrect guards around inclusion of <signal.h>
Causes problems with UNIX03/SUSv3 Part 2 of change 21916 - oops! See: Message-Id: <3FDD06A5.8010004@sun.com> Subject: Re: UNIX03 & C99 issue with 5.8.2 Date: Mon, 15 Dec 2003 00:56:05 +0000 p4raw-id: //depot/perl@21917
This commit is contained in:
parent
3545032cb5
commit
731e259481
2
doop.c
2
doop.c
@ -17,10 +17,8 @@
|
||||
#include "perl.h"
|
||||
|
||||
#ifndef PERL_MICRO
|
||||
#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
STATIC I32
|
||||
S_do_trans_simple(pTHX_ SV *sv)
|
||||
|
||||
3
mg.c
3
mg.c
@ -397,10 +397,7 @@ Perl_mg_free(pTHX_ SV *sv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
U32
|
||||
Perl_magic_regdata_cnt(pTHX_ SV *sv, MAGIC *mg)
|
||||
|
||||
@ -87,9 +87,7 @@
|
||||
*/
|
||||
/* #define ALTERNATE_SHEBANG "#!" / **/
|
||||
|
||||
#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
|
||||
# include <signal.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
|
||||
#ifndef SIGABRT
|
||||
# define SIGABRT SIGILL
|
||||
|
||||
@ -93,9 +93,7 @@
|
||||
*/
|
||||
/* #define ALTERNATE_SHEBANG "#!" / **/
|
||||
|
||||
#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
|
||||
# include <signal.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
|
||||
#ifndef SIGABRT
|
||||
# define SIGABRT SIGILL
|
||||
|
||||
@ -103,9 +103,7 @@
|
||||
*/
|
||||
/* #define ALTERNATE_SHEBANG "#!" / **/
|
||||
|
||||
#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
# include <signal.h>
|
||||
#endif
|
||||
|
||||
#ifndef SIGABRT
|
||||
# define SIGABRT SIGILL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user