diff --git a/xsdconvert/GeneralFunctions.cc b/xsdconvert/GeneralFunctions.cc index 818e4fee94a136f5c1215dab29ce2d5381fcbf36..1a92890dd526289d46fe65bd3f81682f60eced4f 100644 --- a/xsdconvert/GeneralFunctions.cc +++ b/xsdconvert/GeneralFunctions.cc @@ -24,7 +24,8 @@ #include <cctype> // for using "toupper" function #include <cstring> #include <cstdio> -#include <cmath> +// TODO: once we can use C++11 as the base platform replace with cmath +#include <math.h> #include <regex.h> #include "../common/version_internal.h" diff --git a/xsdconvert/SimpleType.cc b/xsdconvert/SimpleType.cc index cad677b8e0e142170b98163170274236e78eb859..72b7ebf43e4cb191d8c7d9c84f07b2a9f4a96206 100644 --- a/xsdconvert/SimpleType.cc +++ b/xsdconvert/SimpleType.cc @@ -23,7 +23,8 @@ #include "ComplexType.hh" #include "Constant.hh" -#include <cmath> // for using "pow" function +// TODO: once we can use C++11 as the base platform replace with cmath +#include <math.h> // for using "pow" function #include <cfloat> extern bool g_flag_used;