diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-11 12:30:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-11 12:30:35 +0000 |
commit | a5eb40b99935a5d1bc29e2c086d00883d6b98858 (patch) | |
tree | 049b1ee428f7ce7607ba86a5dc130c2c8bc55f4a /signal.c | |
parent | db0ebb32c92b592ff2a9f0f0cf84d0037edbfbae (diff) |
* signal.c (ruby_signal): fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -477,7 +477,7 @@ ruby_signal(int signum, sighandler_t handler) #endif sigemptyset(&sigact.sa_mask); -#ifdef SA_SIGINFO +#ifdef USE_SIGALTSTACK sigact.sa_sigaction = (ruby_sigaction_t*)handler; sigact.sa_flags = SA_SIGINFO; #else |