summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'global.c')
-rw-r--r--global.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/global.c b/global.c
index a8bd69a..abaea7c 100644
--- a/global.c
+++ b/global.c
@@ -14,6 +14,12 @@ int _pthread_processInitialized = FALSE;
pthread_key_t _pthread_selfThreadKey = NULL;
pthread_key_t _pthread_cleanupKey = NULL;
+#if !defined(_MSC_VER) && defined(__cplusplus)
+
+Pthread_exception pthread_exception;
+
+#endif
+
/*
* Global lock for testing internal state of PTHREAD_MUTEX_INITIALIZER
* created mutexes.