summaryrefslogtreecommitdiff
path: root/thread_pthread.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-29 00:05:11 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-29 00:05:11 (GMT)
commit2fd8753bde9c7c190cbd91adfb331da4f13e932d (patch)
tree41faf0d07149e8fe66121ee0f72455a2bed5f469 /thread_pthread.h
parent27295f104a348d914815566f08bf9a57f72cf77c (diff)
* thread_pthread.h: no Structured Exception Handling like macros.
[ruby-core:40432] [Bug #5491] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.h')
-rw-r--r--thread_pthread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/thread_pthread.h b/thread_pthread.h
index f180a79..b3e7c36 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -32,6 +32,11 @@ typedef struct native_thread_data_struct {
#include <semaphore.h>
+#undef except
+#undef try
+#undef leave
+#undef finally
+
typedef struct rb_global_vm_lock_struct {
/* fast path */
unsigned long acquired;