diff liboctave/syswait.h @ 6096:40212bfaed1d

[project @ 2006-10-26 01:57:49 by jwe]
author jwe
date Thu, 26 Oct 2006 01:57:50 +0000
parents 89f5979e8552
children 93c65f2a5668
line wrap: on
line diff
--- a/liboctave/syswait.h	Thu Oct 26 01:22:31 2006 +0000
+++ b/liboctave/syswait.h	Thu Oct 26 01:57:50 2006 +0000
@@ -75,7 +75,7 @@
   (((stat_val) & 0177) != 0177 && ((stat_val) & 0177) != 0)
 #endif
 
-#if defined (__MINGW32__)
+#if defined (__MINGW32__) || defined (_MSC_VER)
 #define HAVE_WAITPID 1
 #include <process.h>
 #define WAITPID(a, b, c) _cwait (b, a, c)