summaryrefslogtreecommitdiff
path: root/ptw32_reuse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_reuse.c')
-rw-r--r--ptw32_reuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptw32_reuse.c b/ptw32_reuse.c
index 31ebdc4..7325857 100644
--- a/ptw32_reuse.c
+++ b/ptw32_reuse.c
@@ -126,7 +126,7 @@ ptw32_threadReusePush (pthread_t thread)
tp->ptHandle = t;
/* Bump the reuse counter now */
-#ifdef PTW32_THREAD_ID_REUSE_INCREMENT
+#if defined(PTW32_THREAD_ID_REUSE_INCREMENT)
tp->ptHandle.x += PTW32_THREAD_ID_REUSE_INCREMENT;
#else
tp->ptHandle.x++;