From cb1dbf17abe4884c5d8223b7606aec6b11e69a73 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 18 Aug 2000 10:18:47 +0000 Subject: 2000-08-18 Ross Johnson * implement.h (PTW32_EPS_CANCEL/PTW32_EPS_EXIT): Must be defined for all compilers - used as generic exception selectors by ptw32_throw(). --- implement.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'implement.h') diff --git a/implement.h b/implement.h index 4172618..ed01bda 100644 --- a/implement.h +++ b/implement.h @@ -290,14 +290,16 @@ struct ThreadKeyAssoc { #define PTW32_SERVICES_FACILITY 0xBAD #define PTW32_SERVICES_ERROR 0xDEED +#endif /* _MSC_VER */ + /* * Services available through EXCEPTION_PTW32_SERVICES + * and also used [as parameters to ptw32_throw()] as + * generic exception selectors. */ #define PTW32_EPS_CANCEL 0 #define PTW32_EPS_EXIT 1 -#endif /* _MSC_VER */ - /* Function pointer to TryEnterCriticalSection if it exists; otherwise NULL */ extern BOOL (WINAPI *ptw32_try_enter_critical_section)(LPCRITICAL_SECTION); -- cgit v1.2.3