Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / openturns-1.21.0004.patch
1 --- openturns-1.21_ref/openturns-1.21/lib/src/Base/Common/openturns/Log.hxx     2023-09-13 14:59:40.000000000 +0200
2 +++ openturns-1.21_dev/openturns-1.21/lib/src/Base/Common/openturns/Log.hxx     2023-09-26 14:28:12.567657677 +0200
3 @@ -21,6 +21,12 @@
4  #ifndef OPENTURNS_LOG_HXX
5  #define OPENTURNS_LOG_HXX
6  
7 +#ifdef WIN32
8 +  #ifdef ERROR
9 +   #undef ERROR
10 +  #endif
11 +#endif
12 +
13  #include <fstream>
14  #include <map>
15  #include "openturns/OTprivate.hxx"