From 7cd522a148551384fac536e883a595ecc35aadb6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 11 May 2009 23:48:50 +0000 Subject: Fix OSX compilation (ticket #326). git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1982 a436a847-0d15-0410-975c-d299462d15a1 --- raul/AtomRDF.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'raul/AtomRDF.hpp') diff --git a/raul/AtomRDF.hpp b/raul/AtomRDF.hpp index 1aebe49..18073a9 100644 --- a/raul/AtomRDF.hpp +++ b/raul/AtomRDF.hpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include "raul/Atom.hpp" #include "redlandmm/Node.hpp" @@ -73,7 +73,7 @@ atom_to_node(Redland::World& world, const Atom& atom) type = librdf_new_uri(world.world(), CUC("http://www.w3.org/2001/XMLSchema#integer")); break; case Atom::FLOAT: - if (isnan(atom.get_float()) || isinf(atom.get_float())) + if (std::isnan(atom.get_float()) || std::isinf(atom.get_float())) break; os.precision(8); os << atom.get_float(); -- cgit v1.2.1