diff options
author | Keith Marshall <keithmarshall@@users.sf.net> | 2008-10-13 22:47:58 +0000 |
---|---|---|
committer | Keith Marshall <keithmarshall@@users.sf.net> | 2008-10-13 22:47:58 +0000 |
commit | 206473437f7ef62fe9a5077a4f256f2c396ed2e1 (patch) | |
tree | fdf2de740d40640046d6421250ccfa6e313b6c7d /winsup/mingw/include/math.h | |
parent | 5f9ca0d25add60f331f8a39ce308ffd99157f0b4 (diff) | |
download | cygnal-206473437f7ef62fe9a5077a4f256f2c396ed2e1.tar.gz cygnal-206473437f7ef62fe9a5077a4f256f2c396ed2e1.tar.bz2 cygnal-206473437f7ef62fe9a5077a4f256f2c396ed2e1.zip |
Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of scalb().
Diffstat (limited to 'winsup/mingw/include/math.h')
-rw-r--r-- | winsup/mingw/include/math.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h index abe899e4a..0577d0cc2 100644 --- a/winsup/mingw/include/math.h +++ b/winsup/mingw/include/math.h @@ -259,7 +259,14 @@ _CRTIMP double __cdecl y1 (double); _CRTIMP double __cdecl yn (int, double); _CRTIMP double __cdecl chgsign (double); +/* + * scalb() is a GCC built-in. + * Exclude this _scalb() stub; the semantics are incompatible + * with the built-in implementation. + * _CRTIMP double __cdecl scalb (double, long); + * + */ _CRTIMP int __cdecl finite (double); _CRTIMP int __cdecl fpclass (double); |