mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* rubysig.h: lack of variable declaration on _WIN32 platforms.
(ruby-bugs-ja PR#583) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
88fb246cc7
commit
d35743aa00
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ typedef LONG rb_atomic_t;
|
|||
|
||||
/* Windows doesn't allow interrupt while system calls */
|
||||
# define TRAP_BEG do {\
|
||||
int saved_errno = 0;\
|
||||
extern int errno;\
|
||||
rb_atomic_t trap_immediate = ATOMIC_SET(rb_trap_immediate, 1)
|
||||
# define TRAP_END\
|
||||
|
|
Loading…
Add table
Reference in a new issue