summaryrefslogtreecommitdiff
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
commit56997e14a2953cb91a38c274fc73dc89f22dd4ee (patch)
treefa95efc4ac5b65a40e3f52a3db227ad9911ab71c
parent58b331d3778bdc59557ff77ba2d93f865af3e46a (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--node.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index da6424f6f9..8633de1ec5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Sep 28 23:59:31 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * node.h (struct thread): declare win32_exception_list on cygwin and
+ win32 regardless if it is implemented. Provisional fix for
+ [ruby-core:08917].
+
Thu Sep 28 20:53:16 2006 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/tmpdir.rb: use return value of getdir.call for length.
diff --git a/node.h b/node.h
index 06678a4010..ec0a6f4fe8 100644
--- a/node.h
+++ b/node.h
@@ -402,8 +402,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;