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:
Jacek Caban 2020-03-19 15:40:26 +01:00 committed by Alexandre Julliard
parent 543209eb23
commit ec4b4c33f3
2 changed files with 27 additions and 0 deletions

View File

@ -444,6 +444,7 @@ SOURCES = \
msvcrt/eh.h \
msvcrt/errno.h \
msvcrt/fcntl.h \
msvcrt/fenv.h \
msvcrt/float.h \
msvcrt/fpieee.h \
msvcrt/inttypes.h \

26
include/msvcrt/fenv.h Normal file
View File

@ -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 */