From 7b95d141d300e3d1c67ce59e7e15c477f295cb44 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Wed, 24 Jul 2013 18:09:39 +0000 Subject: [PATCH] ICU-10253 Fix #include of math.h X-SVN-Rev: 33974 --- icu4c/source/i18n/plurrule.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/icu4c/source/i18n/plurrule.cpp b/icu4c/source/i18n/plurrule.cpp index 5069c9a2b68..d372537f2b1 100644 --- a/icu4c/source/i18n/plurrule.cpp +++ b/icu4c/source/i18n/plurrule.cpp @@ -7,12 +7,14 @@ * File plurrule.cpp */ +#include +#include + #include "unicode/utypes.h" #include "unicode/localpointer.h" #include "unicode/plurrule.h" #include "unicode/upluralrules.h" #include "unicode/ures.h" -#include "cmath" #include "cmemory.h" #include "cstring.h" #include "hash.h" @@ -25,7 +27,6 @@ #include "locutil.h" #include "uassert.h" #include "uvectr32.h" -#include "stdio.h" #if !UCONFIG_NO_FORMATTING @@ -830,7 +831,7 @@ AndConstraint::isFulfilled(const NumberInfo &number) { } if (op == MOD) { - n = std::fmod(n, opNum); + n = fmod(n, opNum); } if (rangeList == NULL) { result = value == -1 || // empty rule -- 2.40.0