Salome HOME
Windows compatibility
authorana <ana@opencascade.com>
Fri, 26 Aug 2016 13:37:25 +0000 (16:37 +0300)
committervsr <vsr@opencascade.com>
Mon, 29 Aug 2016 09:14:15 +0000 (12:14 +0300)
src/HexoticPlugin/HexoticPlugin_Hexotic.cxx
src/HexoticPlugin/MG_Hexotic_API.cxx

index 44ab61dc17a3f48b7e1d0c5e125e8fd06c862375..4150e40c9126c9e9f21e803d2f8eea3ee6192612 100644 (file)
 
 #include "utilities.h"
 
+#ifdef WIN32
+#include <process.h>
+#endif
+
 #ifdef _DEBUG_
 #define DUMP(txt) \
 //  cout << txt
index 314912e3356a5d3ed50e217afd94000b7d0b2443..1132cefd967013b45c67315e3c273f0b753f17c7 100644 (file)
 
 #include "MG_Hexotic_API.hxx"
 
+#ifdef WIN32
+#define NOMINMAX
+#endif
+
 #include <SMESH_Comment.hxx>
 #include <SMESH_File.hxx>
 #include <Utils_SALOME_Exception.hxx>