Alex Henrie : kernel32: Add DECLSPEC_HOTPATCH to functions patched by libtcmalloc.

Alexandre Julliard julliard at winehq.org
Thu Nov 29 15:09:39 CST 2018


Module: wine
Branch: stable
Commit: eaad1973c918272a2128cd328f8656b5d4709d18
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=eaad1973c918272a2128cd328f8656b5d4709d18

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Tue Sep 18 00:57:42 2018 -0600

kernel32: Add DECLSPEC_HOTPATCH to functions patched by libtcmalloc.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45199
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit b8b946dd0f2159b30b9775526c7aa5763bce71bd)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/kernel32/virtual.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/kernel32/virtual.c b/dlls/kernel32/virtual.c
index 6d5f8d8..941177c 100644
--- a/dlls/kernel32/virtual.c
+++ b/dlls/kernel32/virtual.c
@@ -574,7 +574,7 @@ LPVOID WINAPI MapViewOfFileEx( HANDLE handle, DWORD access,
  *	Failure: FALSE.
  *
  */
-BOOL WINAPI UnmapViewOfFile( LPCVOID addr )
+BOOL WINAPI DECLSPEC_HOTPATCH UnmapViewOfFile( const void *addr )
 {
     NTSTATUS status;
 




More information about the wine-cvs mailing list