diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-02-24 01:28:21 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-02-24 01:28:21 (GMT) |
commit | f30e7608484d48ec9a3f3073f4b7a351a44d90a9 (patch) | |
tree | 48b306d35d39e00747cd3c32e8a6cf51c1d2ed82 /Utilities/cmxmlrpc/xmlrpc_pthreads.h | |
parent | a8770ccc193371d19f16bad6e4cf7ef6932a4ad5 (diff) | |
download | CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.zip CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.tar.gz CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.tar.bz2 |
COMP: Several Windows fixes
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_pthreads.h')
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_pthreads.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_pthreads.h b/Utilities/cmxmlrpc/xmlrpc_pthreads.h index 81b0e80..dfb29c7 100644 --- a/Utilities/cmxmlrpc/xmlrpc_pthreads.h +++ b/Utilities/cmxmlrpc/xmlrpc_pthreads.h @@ -23,11 +23,14 @@ ** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ** SUCH DAMAGE. */ +#ifndef xmlrpc_pthreads_h_ +#define xmlrpc_pthreads_h_ + #ifndef WIN32 # define _REENTRANT # include <pthread.h> #elif defined (WIN32) - +/*typedef PVOID HANDLE; */ typedef HANDLE pthread_t; typedef CRITICAL_SECTION pthread_mutex_t; @@ -64,3 +67,4 @@ extern int pthread_mutex_destroy(pthread_mutex_t *mp); #endif +#endif |