summaryrefslogtreecommitdiff
path: root/win32/win32thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32thread.h')
-rw-r--r--win32/win32thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32thread.h b/win32/win32thread.h
index 8c02fa179f..c6f93097ff 100644
--- a/win32/win32thread.h
+++ b/win32/win32thread.h
@@ -55,7 +55,7 @@ typedef HANDLE perl_mutex;
#define COND_INIT(c) \
STMT_START { \
(c)->waiters = 0; \
- (c)->sem = CreateSemaphore(NULL,0,LONG_MAX,NULL); \
+ (c)->sem = Win_CreateSemaphore(NULL,0,LONG_MAX,NULL); \
if ((c)->sem == NULL) \
Perl_croak_nocontext("panic: COND_INIT (%ld)",GetLastError()); \
} STMT_END