From e6cb8faa9160a5da4db8c443e10e4c3e34671336 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 17 Oct 2012 13:24:46 +0200 Subject: Change usages of math.h into cmath. Fixes MacOS build. At least on MacOS, but possibly elsewhere too, including cmath before or after math.h will undefine e.g. the isinf macro (and others). The math.h include headers will make sure that math.h cannot get included twice, so this will end with a situation where isinf is undefined, but std::isinf is there. Change-Id: Ie59aeadf2adde511ea8db5eb2fafd3272a7e9d51 Reviewed-by: Simon Hausmann --- qmljs_math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qmljs_math.h') diff --git a/qmljs_math.h b/qmljs_math.h index 8e4ff2c03b..89d6e28ee3 100644 --- a/qmljs_math.h +++ b/qmljs_math.h @@ -42,7 +42,7 @@ #define QMLJS_MATH_H #include -#include +#include #if 1 //CPU(X86_64) -- cgit v1.2.3