diff options
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
-rw-r--r-- | lib/Transforms/Utils/Local.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 60adae862a..df831c78a4 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 //===----------------------------------------------------------------------===// |