]> Creatis software - gdcm.git/commitdiff
COMP: Quickly fix comp on bcc55, dont understand why this was failing (put back old...
authormalaterre <malaterre>
Mon, 24 Oct 2005 22:49:57 +0000 (22:49 +0000)
committermalaterre <malaterre>
Mon, 24 Oct 2005 22:49:57 +0000 (22:49 +0000)
src/gdcmUtil.cxx

index 7ba0e2bf83a000d014f8008d83ed062cd18a0f98..35384b64b2dd1ebbf2ac592d2ebd140fe0200490 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmUtil.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/24 21:31:11 $
-  Version:   $Revision: 1.167 $
+  Date:      $Date: 2005/10/24 22:49:57 $
+  Version:   $Revision: 1.168 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #include <sys/types.h>
 #include <sys/stat.h>
 
-// Two approaches, *NIX or Win32
-#ifdef CMAKE_HAVE_SYS_TIMEB_H
+#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
 #include <sys/timeb.h>
-#endif
-#ifdef CMAKE_HAVE_SYS_TIMES_H
+#else
 #include <sys/time.h>
 #endif