summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmxmlrpc')
-rw-r--r--Utilities/cmxmlrpc/CMakeLists.txt2
-rw-r--r--Utilities/cmxmlrpc/win32_pthreads.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmxmlrpc/CMakeLists.txt b/Utilities/cmxmlrpc/CMakeLists.txt
index 893fff6..4aa2ca3 100644
--- a/Utilities/cmxmlrpc/CMakeLists.txt
+++ b/Utilities/cmxmlrpc/CMakeLists.txt
@@ -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)
diff --git a/Utilities/cmxmlrpc/win32_pthreads.c b/Utilities/cmxmlrpc/win32_pthreads.c
index a072f9b..8f736ca5 100644
--- a/Utilities/cmxmlrpc/win32_pthreads.c
+++ b/Utilities/cmxmlrpc/win32_pthreads.c
@@ -27,6 +27,7 @@
#ifdef _WIN32
+#define HAVE_PTHREADS 1
#include "xmlrpc_pthreads.h"
#include <process.h>