X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.cxx;h=dc335e9c7c4c83056bd872a1dadda48866a1b5ef;hb=f04d4a677f3a7738f3d03e0783d7a38b84983a33;hp=44b894d409f3cdaee5064374a857d5efe0fc69f4;hpb=4d7376a96afa365371c33a2fa7f814e9d81fad9f;p=gdcm.git diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index 44b894d4..dc335e9c 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmUtil.cxx,v $ Language: C++ - Date: $Date: 2004/11/16 16:49:01 $ - Version: $Revision: 1.67 $ + Date: $Date: 2004/12/05 21:46:44 $ + Version: $Revision: 1.69 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,13 +27,15 @@ #include //only included in implementation file #include //only included in implementation file -#if defined _MSC_VER || defined(__BORLANDC__) +#if defined _MSC_VER #include // for gethostname & gethostbyname #undef GetCurrentTime #else +#ifndef __BORLANDC__ #include // for gethostname #include // for gethostbyname #endif +#endif namespace gdcm { @@ -92,7 +94,7 @@ int Util::CountSubstring (const std::string& str, const std::string& subStr) { int count = 0; // counts how many times it appears - unsigned int x = 0; // The index position in the string + std::string::size_type x = 0; // The index position in the string do {