# HG changeset patch # User Mychaela Falconia # Date 1584067914 0 # Node ID 1cd24530c0ae0ac21a4ca41a5ad1c75644bac656 # Parent 435e041897f29e44664c222fc07df73de368d355 fluid-mnf/misc.c: passes compilation diff -r 435e041897f2 -r 1cd24530c0ae fluid-mnf/misc.c --- a/fluid-mnf/misc.c Fri Mar 13 02:47:52 2020 +0000 +++ b/fluid-mnf/misc.c Fri Mar 13 02:51:54 2020 +0000 @@ -15,6 +15,7 @@ #include "trace.h" #include +#include #include #if defined(MSC) || defined(BCC) @@ -84,7 +85,7 @@ ******************************************************************************/ // Return the base 2 logarithm of . Return -1 if is zero. -unsigned int log2(unsigned int number) +unsigned int my_log2(unsigned int number) { int result = -1; @@ -118,7 +119,7 @@ // generate a progress indicator that is in the range [16..32[ chars // in length. progress_mul = n / 32; - progress_mul = 1 << (log2(progress_mul) + 1); + progress_mul = 1 << (my_log2(progress_mul) + 1); n = (n + progress_mul - 1) / progress_mul; progress_string[1 + n] = ')';