diff options
Diffstat (limited to 'Source/Core/Common/XSaveWorkaround.cpp')
| -rw-r--r-- | Source/Core/Common/XSaveWorkaround.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Common/XSaveWorkaround.cpp b/Source/Core/Common/XSaveWorkaround.cpp index b54f33eb4b..223eb93b7f 100644 --- a/Source/Core/Common/XSaveWorkaround.cpp +++ b/Source/Core/Common/XSaveWorkaround.cpp @@ -7,7 +7,7 @@ #include <math.h> #include <Windows.h> -void EnableXSaveWorkaround() +int __cdecl EnableXSaveWorkaround() { // Some Windows environments may have hardware support for AVX/FMA, // but the OS does not support it. The CRT math library does not support @@ -20,6 +20,8 @@ void EnableXSaveWorkaround() { _set_FMA3_enable(0); } + + return 0; } // Create a segment which is recognized by the linker to be part of the CRT |
