From: malaterre Date: Tue, 30 Nov 2004 17:14:12 +0000 (+0000) Subject: COMP: Compilation was broken on borland/vc6 X-Git-Tag: Version1.0.bp~555 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=db91081ed6cb576b48e2b0ae04550f5f8ed0770a;p=gdcm.git COMP: Compilation was broken on borland/vc6 --- 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;