From: rnv Date: Tue, 14 May 2019 11:34:01 +0000 (+0300) Subject: Windows compilation. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=620ae87fae34bf2c8bce613cba35898c4d1402d5;p=modules%2Fyacs.git Windows compilation. --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 1837cfc6d..bd274d45f 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -50,6 +50,11 @@ #ifdef WIN32 #include #define getpid _getpid + +#ifndef S_ISREG +#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) +#endif + #endif #ifdef WITH_PACO_PARALLEL