mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[MSVCRT] Make _setfp_sse available for MSVC as well
Also fix build with clang.
This commit is contained in:
@@ -739,10 +739,13 @@ static void set_mxcsr( unsigned int val )
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __REACTOS__
|
||||
__ATTRIBUTE_SSE__
|
||||
#endif
|
||||
static void _setfp_sse( unsigned int *cw, unsigned int cw_mask,
|
||||
unsigned int *sw, unsigned int sw_mask )
|
||||
{
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#if defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER)
|
||||
unsigned int old_fpword, fpword = get_mxcsr();
|
||||
unsigned int flags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user