mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
fixes to make compilation succeeds
This commit is contained in:
parent
dad02bce3a
commit
8169276058
@ -16,6 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "fdlibm.h"
|
#include "fdlibm.h"
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#ifndef _DOUBLE_IS_32BITS
|
#ifndef _DOUBLE_IS_32BITS
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
#include "fdlibm.h"
|
#include "fdlibm.h"
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
float tgammaf(float x)
|
float tgammaf(float x)
|
||||||
@ -34,7 +35,6 @@
|
|||||||
errno = EDOM;
|
errno = EDOM;
|
||||||
else if (finite(x))
|
else if (finite(x))
|
||||||
errno = ERANGE;
|
errno = ERANGE;
|
||||||
}
|
|
||||||
return y;
|
return y;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user