diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-16 20:31:38 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-16 20:31:38 (GMT) |
commit | 4100a6d767213fbe8bb22cb9b7f03e840c4d4e66 (patch) | |
tree | 909e1e7213dcdccdea45f70403ea7cbed7812981 /Utilities | |
parent | 3768961a667634c6f5d5dec22157241bb317f760 (diff) | |
download | CMake-4100a6d767213fbe8bb22cb9b7f03e840c4d4e66.zip CMake-4100a6d767213fbe8bb22cb9b7f03e840c4d4e66.tar.gz CMake-4100a6d767213fbe8bb22cb9b7f03e840c4d4e66.tar.bz2 |
COMP: Fix more pthreads problems on windows
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmxmlrpc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Utilities/cmxmlrpc/win32_pthreads.c | 1 |
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> |