diff liboctave/oct-mutex.cc @ 9233:b935bbfab7c4

Exclude pthread.h inclusion under Win32
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 21 May 2009 20:54:11 +0100
parents ba2e00a216e8
children 16f53d29049f
line wrap: on
line diff
--- a/liboctave/oct-mutex.cc	Thu May 21 20:48:37 2009 +0100
+++ b/liboctave/oct-mutex.cc	Thu May 21 20:54:11 2009 +0100
@@ -27,12 +27,10 @@
 #include "oct-mutex.h"
 #include "lo-error.h"
 
-#if defined (HAVE_PTHREAD_H)
-#include <pthread.h>
-#endif
-
 #if defined (__WIN32__) && ! defined (__CYGWIN__)
 #include <windows.h>
+#elif defined (HAVE_PTHREAD_H)
+#include <pthread.h>
 #endif
 
 void