Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d7dd5d8f
Commit
d7dd5d8f
authored
Jul 15, 2016
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr100: Fix compilation on NetBSD (conflicting fenv_t definitions).
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
88fc3a3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
math.c
dlls/msvcrt/math.c
+1
-1
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-1
No files found.
dlls/msvcrt/math.c
View file @
d7dd5d8f
...
...
@@ -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
);
...
...
dlls/msvcrt/msvcrt.h
View file @
d7dd5d8f
...
...
@@ -914,7 +914,7 @@ typedef struct
{
unsigned
int
control
;
unsigned
int
status
;
}
fenv_t
;
}
MSVCRT_
fenv_t
;
#define MSVCRT_CLOCKS_PER_SEC 1000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment