]> Creatis software - gdcm.git/commitdiff
COMP: Fix compilation on BCB6. Thanks again to Luca for report
authormalaterre <malaterre>
Tue, 5 Jul 2005 23:50:19 +0000 (23:50 +0000)
committermalaterre <malaterre>
Tue, 5 Jul 2005 23:50:19 +0000 (23:50 +0000)
src/gdcmUtil.cxx

index d36add49ee6f54065a17d49f20769ac6e46b9b95..b78ddcb3feef2e156593d21706894bdb0bf78241 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmUtil.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/06/24 10:55:59 $
-  Version:   $Revision: 1.155 $
+  Date:      $Date: 2005/07/05 23:50:19 $
+  Version:   $Revision: 1.156 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 
 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
    #include <winsock.h>  // for gethostname and gethostbyname and GetTickCount...
-#ifndef __BORLANDC__
+// I haven't find a way to determine wether we need to under GetCurrentTime or not...
+// I think the best solution would simply to get rid of this problematic function
+// and use a 'less' common name...
+#if !defined(__BORLANDC__) || (__BORLANDC__ >= 0x0560)
    #undef GetCurrentTime
 #endif
 #else