From 8b88e9f7272e8d0041deaca23b017193615cb849 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 21 Jun 2001 20:49:41 +0000 Subject: [PATCH] define changed to enable Silicon Graphics gcc compilation. [SVN r10378] --- test/comprehensive.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/comprehensive.cpp b/test/comprehensive.cpp index 410bd243..427ed2d8 100644 --- a/test/comprehensive.cpp +++ b/test/comprehensive.cpp @@ -15,7 +15,9 @@ #include // for pow() #include -#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(x), y); } #endif