summaryrefslogtreecommitdiff
path: root/rubysig.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-04 14:12:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-04 14:12:19 +0000
commitf3bdfcc41662826fce673515e73c9a7bf333bbb1 (patch)
tree3bea29fb055e95898ad856c55ad3e995299258f3 /rubysig.h
parent72dfee9a96069791b888d1596a48ddd07caf5c51 (diff)
* configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define
RUBY_EXPORT to export symbols. * defines.h: use RUBY_EXTERN instead of EXTERN. * intern.h, re.h, ruby.h, rubysig.h: ditto. * win32/win32.h: remove EXTERN definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubysig.h')
-rw-r--r--rubysig.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/rubysig.h b/rubysig.h
index 3087dbd..3ecdf98 100644
--- a/rubysig.h
+++ b/rubysig.h
@@ -53,9 +53,9 @@ typedef int rb_atomic_t;
rb_trap_immediate = trap_immediate;\
} while (0)
#endif
-EXTERN rb_atomic_t rb_trap_immediate;
+RUBY_EXTERN rb_atomic_t rb_trap_immediate;
-EXTERN int rb_prohibit_interrupt;
+RUBY_EXTERN int rb_prohibit_interrupt;
#define DEFER_INTS (rb_prohibit_interrupt++)
#define ALLOW_INTS do {\
rb_prohibit_interrupt--;\
@@ -65,13 +65,13 @@ EXTERN int rb_prohibit_interrupt;
VALUE rb_with_disable_interrupt _((VALUE(*)(ANYARGS),VALUE));
-EXTERN rb_atomic_t rb_trap_pending;
+RUBY_EXTERN rb_atomic_t rb_trap_pending;
void rb_trap_restore_mask _((void));
-EXTERN int rb_thread_critical;
+RUBY_EXTERN int rb_thread_critical;
void rb_thread_schedule _((void));
#if defined(HAVE_SETITIMER) && !defined(__BOW__)
-EXTERN int rb_thread_pending;
+RUBY_EXTERN int rb_thread_pending;
# define CHECK_INTS do {\
if (!rb_prohibit_interrupt) {\
if (rb_trap_pending) rb_trap_exec();\
@@ -81,7 +81,7 @@ EXTERN int rb_thread_pending;
} while (0)
#else
/* pseudo preemptive thread switching */
-EXTERN int rb_thread_tick;
+RUBY_EXTERN int rb_thread_tick;
#define THREAD_TICK 500
#define CHECK_INTS do {\
if (!rb_prohibit_interrupt) {\