mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-22 15:07:26 +01:00
Fixed compilation error due to missing functions from cmath
IBM XLC has no functions from <cmath> under the std namespace. Added a workaround for XLC on AIX.
This commit is contained in:
parent
6dcf71dd96
commit
80ce6016dd
@ -25,6 +25,22 @@
|
||||
#include <cmath>
|
||||
|
||||
|
||||
#if defined(POCO_OS_AIX)
|
||||
|
||||
|
||||
namespace std {
|
||||
|
||||
|
||||
using ::isinf;
|
||||
using ::isnan;
|
||||
|
||||
|
||||
} // namespace std
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user