From db91081ed6cb576b48e2b0ae04550f5f8ed0770a Mon Sep 17 00:00:00 2001 From: malaterre Date: Tue, 30 Nov 2004 17:14:12 +0000 Subject: [PATCH] COMP: Compilation was broken on borland/vc6 --- src/gdcmCommon.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gdcmCommon.h b/src/gdcmCommon.h index 627cc6f1..ec41506b 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/11/30 17:04:01 $ - Version: $Revision: 1.41 $ + Date: $Date: 2004/11/30 17:14:12 $ + Version: $Revision: 1.42 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -59,7 +59,9 @@ #ifdef GDCM_HAVE_STDINT_H #include // For uint8_t uint16_t and uint32_t #else -//typedef signed char int8_t; +#if defined(_MSC_VER) || defined(__BORLANDC__) +typedef signed char int8_t; +#endif typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; -- 2.45.1