This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[win32] fix mingw32 gcc 2.8.0 build (DLLs generated seem to be broken
[perl5.git] / doio.c
diff --git a/doio.c b/doio.c
index d720f99..3167aea 100644 (file)
--- a/doio.c
+++ b/doio.c
@@ -34,7 +34,7 @@
 #endif
 
 #ifdef I_UTIME
-#  ifdef _MSC_VER
+#  if defined(_MSC_VER) || defined(__MINGW32__)
 #    include <sys/utime.h>
 #  else
 #    include <utime.h>