From 80ce6016dd7eb220cc302b9e53991c8f33375dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Math=C3=A4us=20Mendel?= Date: Mon, 7 Mar 2016 16:39:18 -0300 Subject: [PATCH] Fixed compilation error due to missing functions from cmath IBM XLC has no functions from under the std namespace. Added a workaround for XLC on AIX. --- Foundation/include/Poco/FPEnvironment_C99.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Foundation/include/Poco/FPEnvironment_C99.h b/Foundation/include/Poco/FPEnvironment_C99.h index 3dbe70396..b5381dd58 100644 --- a/Foundation/include/Poco/FPEnvironment_C99.h +++ b/Foundation/include/Poco/FPEnvironment_C99.h @@ -25,6 +25,22 @@ #include +#if defined(POCO_OS_AIX) + + +namespace std { + + +using ::isinf; +using ::isnan; + + +} // namespace std + + +#endif + + namespace Poco {