Commit d7dd5d8f authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr100: Fix compilation on NetBSD (conflicting fenv_t definitions).

parent 88fc3a3e
......@@ -1201,7 +1201,7 @@ int CDECL _controlfp_s(unsigned int *cur, unsigned int newval, unsigned int mask
/*********************************************************************
* fegetenv (MSVCR120.@)
*/
int CDECL MSVCRT_fegetenv(fenv_t *env)
int CDECL MSVCRT_fegetenv(MSVCRT_fenv_t *env)
{
env->control = _controlfp(0, 0) & (MSVCRT__EM_INEXACT | MSVCRT__EM_UNDERFLOW |
MSVCRT__EM_OVERFLOW | MSVCRT__EM_ZERODIVIDE | MSVCRT__EM_INVALID);
......
......@@ -914,7 +914,7 @@ typedef struct
{
unsigned int control;
unsigned int status;
} fenv_t;
} MSVCRT_fenv_t;
#define MSVCRT_CLOCKS_PER_SEC 1000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment