summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
authorrpj <rpj>2000-08-18 10:18:47 +0000
committerrpj <rpj>2000-08-18 10:18:47 +0000
commitcb1dbf17abe4884c5d8223b7606aec6b11e69a73 (patch)
treeafd2f9d1264dddc7c07d651e9752c342c5282322 /implement.h
parent11eb4dfd2d42417327fc205c649ea32ee623cf92 (diff)
2000-08-18 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
* implement.h (PTW32_EPS_CANCEL/PTW32_EPS_EXIT): Must be defined for all compilers - used as generic exception selectors by ptw32_throw().
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h6
1 files changed, 4 insertions, 2 deletions
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);