From 44a4adfad2642e63d575051177de9a26eb1939f6 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 17 Jun 2003 19:59:17 +0000 Subject: Use std::isnan instead of isnan. Brought back to you from the future, by the reconciliation of the C++ and C99 standards. Someday. llvm-svn: 6751 --- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter') diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 8eaae50cdd5..ab5dab5839b 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -221,7 +221,7 @@ GenericValue lle_X_log(FunctionType *M, const vector &Args) { GenericValue lle_X_isnan(FunctionType *F, const vector &Args) { assert(Args.size() == 1); GenericValue GV; - GV.IntVal = isnan(Args[0].DoubleVal); + GV.IntVal = std::isnan(Args[0].DoubleVal); return GV; } -- cgit v1.2.3