From: malaterre Date: Tue, 30 Nov 2004 17:04:01 +0000 (+0000) Subject: ENH: Minor tweaks X-Git-Tag: Version1.0.bp~556 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b3fee8fa021afc8de974944cb58663fb1b49ef9d;p=gdcm.git ENH: Minor tweaks --- diff --git a/src/gdcmCommon.h b/src/gdcmCommon.h index 771a9e29..627cc6f1 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 16:24:31 $ - Version: $Revision: 1.40 $ + Date: $Date: 2004/11/30 17:04:01 $ + Version: $Revision: 1.41 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -58,13 +58,8 @@ #ifdef GDCM_HAVE_STDINT_H #include // For uint8_t uint16_t and uint32_t -#endif - -namespace gdcm -{ - -#ifndef GDCM_HAVE_STDINT_H -typedef signed char int8_t; +#else +//typedef signed char int8_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; @@ -77,10 +72,8 @@ typedef unsigned int uint32_t; #define GDCM_EXPORT #endif -#ifdef _MSC_VER -#define getcwd _getcwd -#endif - +namespace gdcm +{ // Centralize information about the gdcm dictionary in only one file: #ifndef PUB_DICT_PATH diff --git a/src/gdcmDicomDir.cxx b/src/gdcmDicomDir.cxx index a3681e01..ee3b95c1 100644 --- a/src/gdcmDicomDir.cxx +++ b/src/gdcmDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDir.cxx,v $ Language: C++ - Date: $Date: 2004/11/25 15:46:10 $ - Version: $Revision: 1.82 $ + Date: $Date: 2004/11/30 17:04:01 $ + Version: $Revision: 1.83 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -34,11 +34,16 @@ #include #include +#ifdef _MSC_VER +#define getcwd _getcwd +#endif + #if defined( _MSC_VER) || defined(__BORLANDC__) #include #else #include #endif + namespace gdcm {