]> Creatis software - gdcm.git/commitdiff
COMP: Fix compilation in bcc32
authormalaterre <malaterre>
Sat, 21 May 2005 02:18:17 +0000 (02:18 +0000)
committermalaterre <malaterre>
Sat, 21 May 2005 02:18:17 +0000 (02:18 +0000)
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