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.h6
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