aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-17 22:27:04 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-17 22:27:04 +0000
commitafe16e174264e3902bf376d7603b0cba2a0659bf (patch)
tree0adcc125d05cd065c46ddbd4e331460022d33ee3
parent988b7ba5bad830379a7108c1f9ea36fb29073245 (diff)
downloadexternal_llvm-afe16e174264e3902bf376d7603b0cba2a0659bf.zip
external_llvm-afe16e174264e3902bf376d7603b0cba2a0659bf.tar.gz
external_llvm-afe16e174264e3902bf376d7603b0cba2a0659bf.tar.bz2
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
-rw-r--r--lib/Transforms/Utils/Local.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp
index 60adae8..df831c7 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
//===----------------------------------------------------------------------===//