summaryrefslogtreecommitdiff
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
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().
-rw-r--r--ChangeLog4
-rw-r--r--implement.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 433a835..e2b48ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
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().
+
* Several: Fix typos from scripted edit session
yesterday.
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);