diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2014-12-20 13:02:23 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2014-12-24 13:20:05 +0000 |
commit | 1271a1bef9e811fe58a09dbdc00ddfdf292f686b (patch) | |
tree | 7f5136d34d2748cba39e5c8017688c593ef9efdc /mg.c | |
parent | cfd916dd0186076c8aa8e70771a9fb4b37d0dd70 (diff) | |
download | perl-1271a1bef9e811fe58a09dbdc00ddfdf292f686b.tar.gz |
Fix compilation errors in mg.c with MinGW/gcc -xc++
error: 'sip' was not declared in this scope
error: 'uap' was not declared in this scope
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1389,12 +1389,14 @@ Perl_csighandler(int sig) #else dTHX; #endif +#if defined(HAS_SIGACTION) && defined(SA_SIGINFO) #if defined(__cplusplus) && defined(__GNUC__) /* g++ doesn't support PERL_UNUSED_DECL, so the sip and uap * parameters would be warned about. */ PERL_UNUSED_ARG(sip); PERL_UNUSED_ARG(uap); #endif +#endif #ifdef FAKE_PERSISTENT_SIGNAL_HANDLERS (void) rsignal(sig, PL_csighandlerp); if (PL_sig_ignoring[sig]) return; |