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

Alexandre Julliard julliard at winehq.org
Tue Sep 18 15:14:32 CDT 2018


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

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>

---

 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 c7a15cd..7f0a562 100644
--- a/dlls/kernel32/virtual.c
+++ b/dlls/kernel32/virtual.c
@@ -384,7 +384,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