From 4100a6d767213fbe8bb22cb9b7f03e840c4d4e66 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 16 Mar 2005 15:31:38 -0500 Subject: COMP: Fix more pthreads problems on windows --- Utilities/cmxmlrpc/CMakeLists.txt | 2 +- Utilities/cmxmlrpc/win32_pthreads.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v0.12