]> Creatis software - gdcm.git/commitdiff
COMP: Need to check first if __BORLANDC__ is defined
authormalaterre <malaterre>
Sat, 2 Jul 2005 19:19:57 +0000 (19:19 +0000)
committermalaterre <malaterre>
Sat, 2 Jul 2005 19:19:57 +0000 (19:19 +0000)
src/gdcmCommon.h

index 48098b9c2478500662fc2160eb075c683d4afbfa..be09ff3c0ec27f385f0069a17ff3e5e3ff448d30 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2005/07/02 15:54:18 $
-  Version:   $Revision: 1.67 $
+  Date:      $Date: 2005/07/02 19:19:57 $
+  Version:   $Revision: 1.68 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -58,7 +58,7 @@
 
 // Broken plateform do not respect C99 and do not provide those typedef
 // Special case for recent borland compiler, comes with stdint.h
 
 // Broken plateform do not respect C99 and do not provide those typedef
 // Special case for recent borland compiler, comes with stdint.h
-#if defined(_MSC_VER) || __BORLANDC__ < 0x0560  || defined(__MINGW32__)
+#if defined(_MSC_VER) || defined(__BORLANDC__) && (__BORLANDC__ < 0x0560)  || defined(__MINGW32__)
 typedef  signed char         int8_t;
 typedef  signed short        int16_t;
 typedef  signed int          int32_t;
 typedef  signed char         int8_t;
 typedef  signed short        int16_t;
 typedef  signed int          int32_t;