summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog6
-rw-r--r--node.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a1a836d2..c112fac27 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:49:20 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 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;