COMP: Fix more pthreads problems on windows

This commit is contained in:
Andy Cedilnik 2005-03-16 15:31:38 -05:00
parent 3768961a66
commit 4100a6d767
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -27,6 +27,7 @@
#ifdef _WIN32
#define HAVE_PTHREADS 1
#include "xmlrpc_pthreads.h"
#include <process.h>