Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-02-11 02:56:04 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2003-02-11 02:56:04 +0300
commitde8eec5609a297c8622c3ceeb1cc37bbe5214de5 (patch)
tree67e7e2052141dff76c08d600bd53f4d787356393
parent407b8df695d94e88aa686d3ad84b0d6ccd363739 (diff)
* include/math.h: Remove _CRTIMP from pow() prototype,
unless __NO_ISOCEXT.
-rw-r--r--winsup/mingw/ChangeLog5
-rw-r--r--winsup/mingw/include/math.h5
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);