summaryrefslogtreecommitdiffstats
path: root/node.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-28 15:01:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-28 15:01:04 +0000
commit566a05a5282bb17b9a9d6d6b0ddeeaa9272871c0 (patch)
treee8daf2eb6ce8ab1b6a57ea91ea7d09af841eb97e /node.h
parent2fcb3dd2406a4a28554c2069b8cab141e24317fa (diff)
downloadruby-566a05a5282bb17b9a9d6d6b0ddeeaa9272871c0.tar.gz
ruby-566a05a5282bb17b9a9d6d6b0ddeeaa9272871c0.tar.xz
ruby-566a05a5282bb17b9a9d6d6b0ddeeaa9272871c0.zip
* node.h (struct thread): declare win32_exception_list on cygwin and
win32 regardless if it is implemented. Provisional fix for [ruby-core:08917]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r--node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/node.h b/node.h
index c08ad33d1..ddca63ab2 100644
--- a/node.h
+++ b/node.h
@@ -421,8 +421,8 @@ typedef struct thread * rb_thread_t;
struct thread {
struct thread *next, *prev;
rb_jmpbuf_t context;
-#ifdef SAVE_WIN32_EXCEPTION_LIST
- DWORD win32_exception_list;
+#if (defined _WIN32 && !defined _WIN32_WCE) || defined __CYGWIN__
+ unsigned long win32_exception_list;
#endif
VALUE result;