summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_pthreads.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-01 14:07:38 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-01 14:07:38 (GMT)
commit1191bd7af1f78db7b8e6d0bd174df360d5c1407d (patch)
tree98c502fde4137957bf5607f2f7e257d15681133d /Utilities/cmxmlrpc/xmlrpc_pthreads.h
parent2e00f02112fa92533d75757464ff1683691eebbd (diff)
downloadCMake-1191bd7af1f78db7b8e6d0bd174df360d5c1407d.zip
CMake-1191bd7af1f78db7b8e6d0bd174df360d5c1407d.tar.gz
CMake-1191bd7af1f78db7b8e6d0bd174df360d5c1407d.tar.bz2
ENH: Attempt to remove threading code
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_pthreads.h')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_pthreads.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_pthreads.h b/Utilities/cmxmlrpc/xmlrpc_pthreads.h
index dfb29c7..31d4049 100644
--- a/Utilities/cmxmlrpc/xmlrpc_pthreads.h
+++ b/Utilities/cmxmlrpc/xmlrpc_pthreads.h
@@ -26,6 +26,10 @@
#ifndef xmlrpc_pthreads_h_
#define xmlrpc_pthreads_h_
+#if !defined(HAVE_PTHREADS)
+# error This system does not have PThreads
+#endif
+
#ifndef WIN32
# define _REENTRANT
# include <pthread.h>