Skip to content

Commit efbcedd

Browse files
committed
Rename pthread_create and pthread_self symbols on Windows
1 parent 8d58ee3 commit efbcedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper/helper.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ include $(CURDIR)/Makefile
4545

4646
SYSTEM = $(shell python2.7 -c 'import platform; print platform.system()')
4747
ifeq ($(SYSTEM),Windows)
48-
CFLAGS += -DCURL_STATICLIB
48+
CFLAGS += -DCURL_STATICLIB -Dpthread_create=win32_pthread_create -Dpthread_self=win32_pthread_self
4949
endif
5050
SOURCE_DIR := $(dir $(CURDIR))
5151

0 commit comments

Comments
 (0)