include: Add fenv.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
543209eb23
commit
ec4b4c33f3
|
@ -444,6 +444,7 @@ SOURCES = \
|
||||||
msvcrt/eh.h \
|
msvcrt/eh.h \
|
||||||
msvcrt/errno.h \
|
msvcrt/errno.h \
|
||||||
msvcrt/fcntl.h \
|
msvcrt/fcntl.h \
|
||||||
|
msvcrt/fenv.h \
|
||||||
msvcrt/float.h \
|
msvcrt/float.h \
|
||||||
msvcrt/fpieee.h \
|
msvcrt/fpieee.h \
|
||||||
msvcrt/inttypes.h \
|
msvcrt/inttypes.h \
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
/**
|
||||||
|
* This file has no copyright assigned and is placed in the Public Domain.
|
||||||
|
* This file is part of the Wine project.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _INC_FENV
|
||||||
|
#define _INC_FENV
|
||||||
|
|
||||||
|
#include <float.h>
|
||||||
|
|
||||||
|
#define FE_TONEAREST _RC_NEAR
|
||||||
|
#define FE_UPWARD _RC_UP
|
||||||
|
#define FE_DOWNWARD _RC_DOWN
|
||||||
|
#define FE_TOWARDZERO _RC_CHOP
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
_ACRTIMP int __cdecl fesetround(int);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _INC_FENV */
|
Loading…
Reference in New Issue