]> SALOME platform Git repositories - modules/kernel.git/blobdiff - src/Launcher/Launcher_Utils.hxx
Salome HOME
Compilation under Windows: add missing header
[modules/kernel.git] / src / Launcher / Launcher_Utils.hxx
index 54981f4c28bcb2bcc4e7a1fe538d1824100cf997..e5bfe7d19527e7084a99445b56decab401b68eff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 # else
 #  define LAUNCHER_EXPORT __declspec(dllimport)
 # endif
+
+#ifndef S_ISREG
+#define S_ISREG(mode)  (((mode) & S_IFMT) == S_IFREG)
+#endif
+
 #else
 # define LAUNCHER_EXPORT
 #endif