From 80cacfcf7d904477a17f4c8585879ebe8aefc5b9 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 23 Aug 2021 18:07:16 +0300 Subject: [PATCH] "#24733 [CEA][Windows] SMESH compilation issue" + build SMESH in debug under Windows --- src/SMESH/MG_ADAPT.cxx | 1 + src/StdMeshers/StdMeshers_ViscousLayers.cxx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/SMESH/MG_ADAPT.cxx b/src/SMESH/MG_ADAPT.cxx index 3530fe477..8f2a36a44 100644 --- a/src/SMESH/MG_ADAPT.cxx +++ b/src/SMESH/MG_ADAPT.cxx @@ -30,6 +30,7 @@ #include #include +#include "SMESH_TypeDefs.hxx" #ifndef WIN32 #include // getpid() diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index 4ed66607a..f07bb05c8 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -101,7 +101,9 @@ #include #ifdef _DEBUG_ +#ifndef WIN32 #define __myDEBUG +#endif //#define __NOT_INVALIDATE_BAD_SMOOTH //#define __NODES_AT_POS #endif -- 2.39.2