From 13e60f2bff7c2a140cbdc123c3a28c9b8b66d963 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 2 Oct 2013 18:20:17 +0000 Subject: [PATCH] * ext/thread/thread.c (ALIAS_GLOBAL_CONST): fix typo, GLOBCAL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/thread/thread.c | 10 +++++----- 1 file 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); }