diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-02-10 23:56:04 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-02-10 23:56:04 +0000 |
commit | de8eec5609a297c8622c3ceeb1cc37bbe5214de5 (patch) | |
tree | 67e7e2052141dff76c08d600bd53f4d787356393 /winsup | |
parent | 407b8df695d94e88aa686d3ad84b0d6ccd363739 (diff) | |
download | cygnal-de8eec5609a297c8622c3ceeb1cc37bbe5214de5.tar.gz cygnal-de8eec5609a297c8622c3ceeb1cc37bbe5214de5.tar.bz2 cygnal-de8eec5609a297c8622c3ceeb1cc37bbe5214de5.zip |
* include/math.h: Remove _CRTIMP from pow() prototype,
unless __NO_ISOCEXT.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/mingw/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/mingw/include/math.h | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index e15e7ac4e..362890404 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,5 +1,10 @@ 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net> + * include/math.h: Remove _CRTIMP from pow() prototype, + unless __NO_ISOCEXT. + +2003-02-10 Danny Smith <dannysmith@users.sourceforge.net> + * mingwex/math/cephes_emath.h: Don't redefine INFINITY. 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net> 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); |