Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / openturns-1.22.0002.patch
1 diff -Naur openturns-1.22_ref/openturns-1.22/lib/src/Base/Common/openturns/Log.hxx openturns-1.22_dev/openturns-1.22/lib/src/Base/Common/openturns/Log.hxx
2 --- openturns-1.22_ref/openturns-1.22/lib/src/Base/Common/openturns/Log.hxx     2024-04-24 12:41:11.929743118 +0200
3 +++ openturns-1.22_dev/openturns-1.22/lib/src/Base/Common/openturns/Log.hxx     2024-04-24 12:44:51.657001032 +0200
4 @@ -21,6 +21,11 @@
5  #ifndef OPENTURNS_LOG_HXX
6  #define OPENTURNS_LOG_HXX
7  
8 +#ifdef WIN32
9 +  #ifdef ERROR
10 +   #undef ERROR
11 +  #endif
12 +#endif
13  #include <fstream>
14  #include <map>
15  #include "openturns/OTprivate.hxx"