2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 21:12:15 +00:00

define changed to enable Silicon Graphics gcc compilation.

[SVN r10378]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2001-06-21 20:49:41 +00:00
parent 91f0728b55
commit 8b88e9f727

View File

@@ -15,7 +15,9 @@
#include <math.h> // for pow()
#include <boost/rational.hpp>
#if defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730
#if defined(__sgi) \
&& ( (defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730) \
&& !defined(__GNUC__))
inline double pow(int x, int y) { return pow(static_cast<double>(x), y); }
#endif