diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 72c91a8335..73eda6370c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 23:12 UTC+0100 Foo Bar */ +2002-07-08 17:20 UTC+0100 Martin Vogel + * source/rtl/math.c + * #ifdef'ed matherr() definition to hide it from compilers not supporting it + 2002-07-08 10:15 UTC-0300 Luiz Rafael Culik * contrib/rdd_ads/ads1.c * Fixed bug on adsGetValue() function when numeric data to be putted are more the 10 number diff --git a/harbour/source/rtl/math.c b/harbour/source/rtl/math.c index b0134d96b4..a9074e3fd7 100644 --- a/harbour/source/rtl/math.c +++ b/harbour/source/rtl/math.c @@ -120,6 +120,7 @@ int hb_mathIsMathErr (void) } /* route C math lib errors to Harbour error handling */ +#if defined(HB_MATH_HANDLER) int matherr (struct exception * err) { int retval; @@ -187,7 +188,7 @@ int matherr (struct exception * err) return (retval); } - +#endif /* * ************************************************************