Salome HOME
spns #24300 compile SALOME native on FD34
[tools/sat_salome.git] / products / patches / openturns-1.16.0002.patch
1 diff -Naur openturns_ref/lib/src/Base/Algo/openturns/KarhunenLoeveAlgorithmImplementation.hxx openturns_new/lib/src/Base/Algo/openturns/KarhunenLoeveAlgorithmImplementation.hxx
2 --- openturns_ref/lib/src/Base/Algo/openturns/KarhunenLoeveAlgorithmImplementation.hxx  2020-11-10 13:21:21.000000000 +0100
3 +++ openturns_new/lib/src/Base/Algo/openturns/KarhunenLoeveAlgorithmImplementation.hxx  2021-05-21 11:08:48.206212694 +0200
4 @@ -24,6 +24,12 @@
5  #include "openturns/PersistentObject.hxx"
6  #include "openturns/CovarianceModel.hxx"
7  #include "openturns/KarhunenLoeveResult.hxx"
8 +#ifdef __GNUC__
9 +#  include <features.h>
10 +#  if __GNUC_PREREQ(11,0)
11 +#     include <limits>
12 +#  endif
13 +#endif // __GNUC__
14  
15  BEGIN_NAMESPACE_OPENTURNS
16