Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/med.git] / src / MEDMEM / MEDMEM_Init.cxx
index 95b3a38679b307c618fb0c670de327f925d8275a..aca96a49ad676436a1712c502501ed7d1c2b51d3 100644 (file)
@@ -46,7 +46,11 @@ MEDMEM::INIT::INIT()
 
   if (traceKind == NULL)
     {
+#ifndef WNT
       setenv("SALOME_trace","local",1);
+#else
+      _putenv("SALOME_trace=%TEMP%\\local");
+#endif
       traceKind = getenv("SALOME_trace");
       assert(traceKind);
     }