diff options
Diffstat (limited to 'winsup/cygwin/exception.h')
-rw-r--r-- | winsup/cygwin/exception.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/exception.h b/winsup/cygwin/exception.h index e4564b044..ffff7464b 100644 --- a/winsup/cygwin/exception.h +++ b/winsup/cygwin/exception.h @@ -6,7 +6,7 @@ details. */ #pragma once -#ifndef __x86_64__ +#ifdef __i386__ /* Documentation on the innards of 32 bit Windows exception handling (i.e. from the perspective of a compiler implementor) apparently doesn't exist. However, the following came from Onno Hovers <onno@stack.urc.tue.nl> @@ -123,7 +123,7 @@ public: ~exception () __attribute__ ((always_inline)) { _except_list = save; } }; -#else /* __x86_64__ */ +#else /* !__i386__ */ #define exception_list void typedef struct _DISPATCHER_CONTEXT *PDISPATCHER_CONTEXT; @@ -159,7 +159,7 @@ public: LONG CALLBACK myfault_altstack_handler (EXCEPTION_POINTERS *); -#endif /* !__x86_64__ */ +#endif /* __i386__ */ class cygwin_exception { |