From 620ae87fae34bf2c8bce613cba35898c4d1402d5 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 14 May 2019 14:34:01 +0300 Subject: [PATCH] Windows compilation. --- src/Container/SALOME_ContainerManager.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2