From de8eec5609a297c8622c3ceeb1cc37bbe5214de5 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 10 Feb 2003 23:56:04 +0000 Subject: * include/math.h: Remove _CRTIMP from pow() prototype, unless __NO_ISOCEXT. --- winsup/mingw/ChangeLog | 5 +++++ winsup/mingw/include/math.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3