summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);