diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index e15e7ac4e..362890404 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,8 @@ +2003-02-10 Danny Smith + + * include/math.h: Remove _CRTIMP from pow() prototype, + unless __NO_ISOCEXT. + 2003-02-10 Danny Smith * mingwex/math/cephes_emath.h: Don't redefine INFINITY. diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h index cad49b186..bd0a0da89 100644 --- a/winsup/mingw/include/math.h +++ b/winsup/mingw/include/math.h @@ -159,7 +159,10 @@ _CRTIMP double __cdecl atan2 (double, double); _CRTIMP double __cdecl exp (double); _CRTIMP double __cdecl log (double); _CRTIMP double __cdecl log10 (double); -_CRTIMP double __cdecl pow (double, double); +#ifdef __NO_ISOCEXT +_CRTIMP +#endif + double __cdecl pow (double, double); _CRTIMP double __cdecl sqrt (double); _CRTIMP double __cdecl ceil (double); _CRTIMP double __cdecl floor (double);