]> Creatis software - gdcm.git/blobdiff - src/gdcmmpeg2/src/mpeg2dec/config.h
Oops. I forgot this one
[gdcm.git] / src / gdcmmpeg2 / src / mpeg2dec / config.h
index cfb9ffb18427ce91e65732a88a502aede6a9d0be..3b97ddf738325a295823bf553dbbe606ea613cc1 100644 (file)
@@ -44,8 +44,8 @@
 #endif
 
 /* For close / read / lseek ... */
-#ifndef _MSC_VER
-#include <unistd.h>
+#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
+#  include <io.h>
 #else
-#include <io.h>
+#  include <unistd.h>
 #endif