]> Creatis software - creaMaracasVisu.git/commitdiff
*** empty log message ***
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 11 Nov 2011 11:48:17 +0000 (11:48 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 11 Nov 2011 11:48:17 +0000 (11:48 +0000)
lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageDequeUR.h
lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageInfoUR.cxx

index a5660b6108afc67e625b4a15963e08afc710ef3a..9a5425288f7971881849d644f1fd0301ba4c4191 100755 (executable)
@@ -11,7 +11,7 @@
 #include <iostream>
 #include <string>
 #include <deque>
-#include <unistd.h>
+//EED-11/11/2011  comment for windows compilation//   #include <unistd.h>
 #include <vtkImageData.h>
 #include <vtkSmartPointer.h>
 #include "imageInfoUR.h"
index c00e9725c8838d6ff4ecf72f2b58350f59a5de8b..69c3811aceebfd4d63d639de64aa977187d2189e 100755 (executable)
@@ -62,7 +62,7 @@ void ImageInfoUR::SaveImageAsMHD(const StringType& gPath) {
        StringType filename = gPath + this->m_ImageName;
        filename.append(".mhd");
        //managing temporary files
-       mkstemp((char*) filename.c_str());
+//EED-11/11/2011       mkstemp((char*) filename.c_str());
        VTKMetaImageWriterPointerType w = VTKMetaImageWriterPointerType::New();
        w->SetInput(this->m_Image);
        w->SetCompression(false);
@@ -76,7 +76,7 @@ void ImageInfoUR::RemoveImageFromDisk(const StringType& gPath) {
        filename.append(".mhd");
        StringType filenameRaw = gPath + this->m_ImageName;
        filenameRaw.append(".raw");
-       mkstemp((char*) filenameRaw.c_str());
+//EED-11/11/2011       mkstemp((char*) filenameRaw.c_str());
        unlink((char*) filename.c_str());
        unlink((char*) filenameRaw.c_str());
 }