From: frog Date: Fri, 8 Oct 2004 08:41:04 +0000 (+0000) Subject: src/gdcmCommon.h now declares int8_t for non stdint.h plateforms. X-Git-Tag: Version0.6.bp~109 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=02b51b4b9f4dd1c2992cb454463f07f9d62fbb3f;p=gdcm.git src/gdcmCommon.h now declares int8_t for non stdint.h plateforms. --- diff --git a/src/gdcmCommon.h b/src/gdcmCommon.h index 452fa3f2..4de3dee0 100644 --- a/src/gdcmCommon.h +++ b/src/gdcmCommon.h @@ -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 // 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;