1
0
Fork 0
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:
matz 2004-01-03 17:08:20 +00:00
parent 88fb246cc7
commit d35743aa00

View file

@ -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\