X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmArgMgr.cxx;h=6ec2636714bcd128bb419a48c8c38366a63058d3;hb=b06cbd9177331d793223eac6bf8b2bccf874e7e3;hp=82cc2a0aa9667cce49c8cecd9d59792d4398fc37;hpb=fa9e030fcfe0cf8cc3a96c9756968ca15095fa28;p=gdcm.git diff --git a/src/gdcmArgMgr.cxx b/src/gdcmArgMgr.cxx index 82cc2a0a..6ec26367 100644 --- a/src/gdcmArgMgr.cxx +++ b/src/gdcmArgMgr.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmArgMgr.cxx,v $ Language: C++ - Date: $Date: 2006/01/26 16:01:04 $ - Version: $Revision: 1.18 $ + Date: $Date: 2007/05/23 14:18:07 $ + Version: $Revision: 1.24 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,12 +21,18 @@ #include #include // For strlen +// No strcasecmp in WIN32 world, but stricmp +// http://www.opengroup.org/onlinepubs/007908799/xsh/strcasecmp.html +#ifdef _WIN32 +#define strcasecmp stricmp +#endif + #include // For strtok and strlen #include // For strtol and strtod #include "gdcmArgMgr.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //------------------------------------------------------------------------- // Constructor / Destructor @@ -93,8 +99,13 @@ namespace gdcm } /* Set labels to upper-case (labels are not case sensitive ) *********/ + //char *secu; for ( i=0; i