summaryrefslogtreecommitdiff
path: root/ext/thread/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/thread/thread.c')
-rw-r--r--ext/thread/thread.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/thread/thread.c b/ext/thread/thread.c
index 1a517c5b8a..7d0dab8c29 100644
--- a/ext/thread/thread.c
+++ b/ext/thread/thread.c
@@ -511,7 +511,7 @@ void
Init_thread(void)
{
#if UNDER_THREAD
-#define ALIAS_GLOBCAL_CONST(name) do { \
+#define ALIAS_GLOBAL_CONST(name) do { \
ID id = rb_intern_const(#name); \
if (!rb_const_defined_at(rb_cObject, id)) { \
rb_const_set(rb_cObject, id, rb_c##name); \
@@ -519,7 +519,7 @@ Init_thread(void)
} while (0)
#define OUTER rb_cThread
#else
-#define ALIAS_GLOBCAL_CONST(name) do { /* nothing */ } while (0)
+#define ALIAS_GLOBAL_CONST(name) do { /* nothing */ } while (0)
#define OUTER 0
#endif
@@ -569,7 +569,7 @@ Init_thread(void)
rb_alias(rb_cSizedQueue, rb_intern("shift"), rb_intern("pop"));
rb_provide("thread.rb");
- ALIAS_GLOBCAL_CONST(ConditionVariable);
- ALIAS_GLOBCAL_CONST(Queue);
- ALIAS_GLOBCAL_CONST(SizedQueue);
+ ALIAS_GLOBAL_CONST(ConditionVariable);
+ ALIAS_GLOBAL_CONST(Queue);
+ ALIAS_GLOBAL_CONST(SizedQueue);
}