]> Creatis software - gdcm.git/commitdiff
ENH: Afterall a Dashboard on Win32 is usefull :)
authormalaterre <malaterre>
Mon, 27 Sep 2004 15:40:07 +0000 (15:40 +0000)
committermalaterre <malaterre>
Mon, 27 Sep 2004 15:40:07 +0000 (15:40 +0000)
Example/TestCopyDicom.cxx
Testing/TestCopyDicom.cxx

index b07b1afcff63b2447e8069ce34475e52d8a5cbbf..2edc47f8597b8a04dc85164c64c009ea80af353e 100644 (file)
@@ -6,6 +6,8 @@
 
 #ifndef _WIN32
 #include <unistd.h> //for access, unlink
+#else
+#include <io.h> //for _access
 #endif
 
 // return true if the file exists
index 1effa9f67b5c87c86fa8188b3fa3a0f03cdc137a..62e1a727e9a1a68e0c51a0520786bcdf13132076 100644 (file)
@@ -9,6 +9,8 @@
 
 #ifndef _WIN32
 #include <unistd.h> //for access, unlink
+#else
+#include <io.h> //for _access on Win32
 #endif
 
 // return true if the file exists