]> Creatis software - gdcm.git/blobdiff - src/gdcmCommon.h
Comments
[gdcm.git] / src / gdcmCommon.h
index 4a2e2c0e403e5dfdc13b395583a6e5903c086168..be09ff3c0ec27f385f0069a17ff3e5e3ff448d30 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2005/06/25 13:57:29 $
-  Version:   $Revision: 1.66 $
+  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
@@ -57,7 +57,8 @@
 #endif
 
 // Broken plateform do not respect C99 and do not provide those typedef
-#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
+// Special case for recent borland compiler, comes with stdint.h
+#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;