diff --git a/include/Makefile.in b/include/Makefile.in index a3b8774dc0e..dc79d2ca248 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -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 \ diff --git a/include/msvcrt/fenv.h b/include/msvcrt/fenv.h new file mode 100644 index 00000000000..20906f38e29 --- /dev/null +++ b/include/msvcrt/fenv.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 + +#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 */