]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix win32 compilation problem:
authorabd <abd@opencascade.com>
Wed, 29 Oct 2008 14:52:46 +0000 (14:52 +0000)
committerabd <abd@opencascade.com>
Wed, 29 Oct 2008 14:52:46 +0000 (14:52 +0000)
no libgen.h header on win32 platform

src/Batch/Batch_BatchManager_eLSF.cxx
src/Batch/Batch_BatchManager_ePBS.cxx

index 6b50040446c6f5d5f47e87e7a5ed25fabfab5062..f6d116f4105240fc5bddbc132a44eb8bdf60d814 100644 (file)
 #include <sstream>
 #include <sys/stat.h>
 #include <stdlib.h>
-#include <libgen.h>
 #include "Batch_BatchManager_eLSF.hxx"
 #ifdef WIN32
 # include <time.h>
 # include <io.h>
+#else
+# include <libgen.h>
 #endif
 
 using namespace std;
index edca9119f5bd7ed6c781724424954ff25f6a70f9..7a10b110953da09d2bda81f94c15cc6ba764e022 100644 (file)
 #include <sstream>
 #include <sys/stat.h>
 #include <stdlib.h>
-#include <libgen.h>
 #include "Batch_BatchManager_ePBS.hxx"
 #ifdef WIN32
 # include <time.h>
 # include <io.h>
+#else
+# include <libgen.h>
 #endif
 
 using namespace std;