From: jpr Date: Wed, 11 Jan 2006 10:44:24 +0000 (+0000) Subject: Forgot to commit this one! X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8de85686746ce345645a999e870362f3043cab56;p=gdcm.git Forgot to commit this one! (declaration of const char GDCM_FILESEPARATOR) --- diff --git a/src/gdcmGlobal.cxx b/src/gdcmGlobal.cxx index f3196560..ad98da2c 100644 --- a/src/gdcmGlobal.cxx +++ b/src/gdcmGlobal.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmGlobal.cxx,v $ Language: C++ - Date: $Date: 2005/11/30 10:58:27 $ - Version: $Revision: 1.30 $ + Date: $Date: 2006/01/11 10:44:24 $ + Version: $Revision: 1.31 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -45,6 +45,12 @@ const std::string GDCM_PIXELDATA = "gdcm::Pixel Data to be loaded"; const std::string GDCM_VRUNKNOWN = " "; +#ifdef _WIN32 +const char GDCM_FILESEPARATOR = '\\'; +#else +const char GDCM_FILESEPARATOR = '/'; +#endif + //----------------------------------------------------------------------------- DictSet *Global::Dicts = (DictSet *)0; VR *Global::ValRes = (VR *)0;