* eval.c (win32_get_exception_list, win32_set_exception_list): Cygwin fix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2002-08-19 03:18:33 +00:00
parent 3b2209d410
commit 6d9d1a9bb4

9
eval.c
View File

@ -7222,10 +7222,15 @@ Init_Proc()
}
/* Windows SEH refers data on the stack. */
#ifdef _WIN32
#if defined _WIN32 || defined __CYGWIN__
# if !(defined _M_IX86 || defined __i386__)
# error unsupported processor
# endif
#if defined __CYGWIN__
typedef unsigned long DWORD;
#endif
static inline DWORD
win32_get_exception_list()
{
@ -7249,7 +7254,7 @@ win32_get_exception_list()
}
static inline void
win32_set_exception_list()
win32_set_exception_list(p)
DWORD p;
{
# if defined _MSC_VER