]> Creatis software - gdcm.git/commitdiff
src/gdcmCommon.h now declares int8_t for non stdint.h plateforms.
authorfrog <frog>
Fri, 8 Oct 2004 08:41:04 +0000 (08:41 +0000)
committerfrog <frog>
Fri, 8 Oct 2004 08:41:04 +0000 (08:41 +0000)
src/gdcmCommon.h

index 452fa3f2b42f83cce64fd9ad74a306675f7c06dd..4de3dee09c7dba7d23ccd43f636c906261b91381 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/07 16:55:16 $
-  Version:   $Revision: 1.34 $
+  Date:      $Date: 2004/10/08 08:41:04 $
+  Version:   $Revision: 1.35 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -49,6 +49,7 @@
 #ifndef HAVE_NO_STDINT_H
 #include <stdint.h>   // For uint8_t uint16_t and uint32_t
 #else
+typedef    signed char   int8_t;
 typedef  unsigned char  uint8_t;
 typedef  unsigned short uint16_t;
 typedef  unsigned int   uint32_t;
@@ -57,6 +58,7 @@ typedef  unsigned int   uint32_t;
 #endif
 
 #ifdef _MSC_VER 
+typedef    signed char   int8_t;
 typedef  unsigned char  uint8_t;
 typedef  unsigned short uint16_t;
 typedef  unsigned int   uint32_t;