From 562b6f1db2041823e906c1a5a99d642f00fd9fc4 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 28 Sep 2006 15:01:04 +0000 Subject: [PATCH] * 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/trunk@11045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ node.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a1a836d2f3ad8..c112fac27faa29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Sep 28 23:59:31 2006 Nobuyoshi Nakada + + * 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 * lib/tmpdir.rb: use return value of getdir.call for length. diff --git a/node.h b/node.h index c08ad33d1b1138..ddca63ab212aa9 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;