COMP: Fix more pthreads problems on windows
This commit is contained in:
parent
3768961a66
commit
4100a6d767
|
@ -49,7 +49,7 @@ ENDIF(ATTR_UNUSED_VAR)
|
|||
SET(HAVE_LIBWWW_SSL)
|
||||
SET(DIRECTORY_SEPARATOR "/")
|
||||
|
||||
SET(HAVE_PTHREADS)
|
||||
SET(HAVE_PTHREADS 0)
|
||||
IF(CMAKE_BUILD_XMLRPC_WITH_THREADS)
|
||||
FIND_PACKAGE(Threads)
|
||||
IF(WIN32 OR CMAKE_USE_PTHREADS_INIT)
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
|
||||
#define HAVE_PTHREADS 1
|
||||
#include "xmlrpc_pthreads.h"
|
||||
|
||||
#include <process.h>
|
||||
|
|
Loading…
Reference in New Issue