From afe16e174264e3902bf376d7603b0cba2a0659bf Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 17 Jun 2004 22:27:04 +0000 Subject: [PATCH] I love the smell of a freshly broken PowerPC build in the morning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14206 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/Local.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 60adae862a6..df831c78a42 100644 --- a/lib/Transforms/Utils/Local.cpp +++ b/lib/Transforms/Utils/Local.cpp @@ -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 //===----------------------------------------------------------------------===//