* 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
This commit is contained in:
nobu 2006-09-28 15:01:04 +00:00
parent 406479b3b5
commit 562b6f1db2
2 changed files with 8 additions and 2 deletions

View File

@ -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> Thu Sep 28 20:49:20 2006 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/tmpdir.rb: use return value of getdir.call for length. * lib/tmpdir.rb: use return value of getdir.call for length.

4
node.h
View File

@ -421,8 +421,8 @@ typedef struct thread * rb_thread_t;
struct thread { struct thread {
struct thread *next, *prev; struct thread *next, *prev;
rb_jmpbuf_t context; rb_jmpbuf_t context;
#ifdef SAVE_WIN32_EXCEPTION_LIST #if (defined _WIN32 && !defined _WIN32_WCE) || defined __CYGWIN__
DWORD win32_exception_list; unsigned long win32_exception_list;
#endif #endif
VALUE result; VALUE result;