aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-31 16:52:10 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-31 16:52:10 +0000
commitac5a975aafcbe36f7342424d931fef57aedd3188 (patch)
treee25251658c536ba37dd4c8a473b39771846936e9
parent2276493ee54ae673be131d2ff4b6188890e59bcc (diff)
downloadruby-ac5a975aafcbe36f7342424d931fef57aedd3188.tar.gz
* vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--vm_core.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e276511673..79d344efbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Nov 1 01:51:01 2007 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.
+
Thu Nov 1 00:46:30 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/configure.bat, setup.mak: now can recognize OS even if
diff --git a/vm_core.h b/vm_core.h
index 69e9e1cd06..56879760fc 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -633,7 +633,7 @@ RUBY_EXTERN VALUE sysstack_error;
/* for thread */
#if RUBY_VM_THREAD_MODEL == 2
-extern rb_thread_t *ruby_current_thread;
+RUBY_EXTERN rb_thread_t *ruby_current_thread;
extern rb_vm_t *ruby_current_vm;
#define GET_VM() ruby_current_vm