summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_pthreads.h
diff options
context:
space:
mode:
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>