]> Creatis software - gdcm.git/commitdiff
Forgot to commit this one!
authorjpr <jpr>
Wed, 11 Jan 2006 10:44:24 +0000 (10:44 +0000)
committerjpr <jpr>
Wed, 11 Jan 2006 10:44:24 +0000 (10:44 +0000)
(declaration of const char GDCM_FILESEPARATOR)

src/gdcmGlobal.cxx

index f3196560ae64c03642b114993a3d1ba1c3e9f860..ad98da2c862a37e843e03293cb57b92636705c9d 100644 (file)
@@ -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;