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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user