# HG changeset patch # User jwe # Date 1051215614 0 # Node ID dd0abcde160ca1059048fc11174256444dc763ad # Parent 112a509bd2e64fa14ce507059c9934d50136c9ec [project @ 2003-04-24 20:20:14 by jwe] diff -r 112a509bd2e6 -r dd0abcde160c liboctave/ChangeLog --- a/liboctave/ChangeLog Thu Apr 24 18:41:02 2003 +0000 +++ b/liboctave/ChangeLog Thu Apr 24 20:20:14 2003 +0000 @@ -1,5 +1,7 @@ 2003-04-24 John W. Eaton + * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. + * kpse.cc (xclosedir): Don't define or declare for Windows. (READABLE): Now a static function to avoid warnings from MinGW compiler. diff -r 112a509bd2e6 -r dd0abcde160c liboctave/lo-ieee.h --- a/liboctave/lo-ieee.h Thu Apr 24 18:41:02 2003 +0000 +++ b/liboctave/lo-ieee.h Thu Apr 24 20:20:14 2003 +0000 @@ -73,6 +73,9 @@ #if defined (signbit) #define lo_ieee_signbit(x) signbit (x) #elif defined (HAVE_SIGNBIT) +#if defined (__MINGW32__) +extern "C" int signbit (double); +#endif #define lo_ieee_signbit(x) (x < 0 || signbit (x)) #elif defined (copysign) #define lo_ieee_signbit(x) (copysign (1.0, x) < 0)