I love the smell of a freshly broken PowerPC build in the morning.
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 17 Jun 2004 22:27:04 +0000 (22:27 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 17 Jun 2004 22:27:04 +0000 (22:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14206 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/Local.cpp

index 60adae862a6325b44c1736ce91acbcf54eb6de9e..df831c78a42f8e1311d4699e2588fb3865689051 100644 (file)
@@ -26,6 +26,7 @@ using namespace llvm;
 // in a big way). This is a quick fix to get things compiling, until one of
 // us has time to write a more complicated autoconf test.
 extern "C" int isnan (double d);
+namespace std { int isnan (double d) { return ::isnan (d); } }
 #endif
 
 //===----------------------------------------------------------------------===//