Last active
January 1, 2016 17:29
-
-
Save alecchen/8177708 to your computer and use it in GitHub Desktop.
wine bug 33125 patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c | |
index 5b7f810..c8a46c8 100644 | |
--- a/dlls/kernel32/sync.c | |
+++ b/dlls/kernel32/sync.c | |
@@ -456,7 +456,7 @@ HANDLE WINAPI DECLSPEC_HOTPATCH CreateEventExA( SECURITY_ATTRIBUTES *sa, LPCSTR | |
/*********************************************************************** | |
* CreateEventExW (KERNEL32.@) | |
*/ | |
-HANDLE WINAPI DECLSPEC_HOTPATCH CreateEventExW( SECURITY_ATTRIBUTES *sa, LPCWSTR name, DWORD flags, DWORD access ) | |
+HANDLE WINAPI __attribute__((optimize("-O0"))) DECLSPEC_HOTPATCH CreateEventExW( SECURITY_ATTRIBUTES *sa, LPCWSTR name, DWORD flags, DWORD access ) | |
{ | |
HANDLE ret; | |
UNICODE_STRING nameW; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment