Commit 4100a6d7 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Fix more pthreads problems on windows

parent 3768961a
...@@ -49,7 +49,7 @@ ENDIF(ATTR_UNUSED_VAR) ...@@ -49,7 +49,7 @@ ENDIF(ATTR_UNUSED_VAR)
SET(HAVE_LIBWWW_SSL) SET(HAVE_LIBWWW_SSL)
SET(DIRECTORY_SEPARATOR "/") SET(DIRECTORY_SEPARATOR "/")
SET(HAVE_PTHREADS) SET(HAVE_PTHREADS 0)
IF(CMAKE_BUILD_XMLRPC_WITH_THREADS) IF(CMAKE_BUILD_XMLRPC_WITH_THREADS)
FIND_PACKAGE(Threads) FIND_PACKAGE(Threads)
IF(WIN32 OR CMAKE_USE_PTHREADS_INIT) IF(WIN32 OR CMAKE_USE_PTHREADS_INIT)
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#ifdef _WIN32 #ifdef _WIN32
#define HAVE_PTHREADS 1
#include "xmlrpc_pthreads.h" #include "xmlrpc_pthreads.h"
#include <process.h> #include <process.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment