Fix the build for msvc users.

svn path=/trunk/; revision=72500
This commit is contained in:
Mark Jansen 2016-08-29 13:15:44 +00:00
parent 820426939a
commit 0c589e512f
3 changed files with 5 additions and 2 deletions

View file

@ -79,6 +79,7 @@ add_library(user32 SHARED
set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE) set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE)
target_link_libraries(user32 user32_wsprintf wine win32ksys ${PSEH_LIB}) target_link_libraries(user32 user32_wsprintf wine win32ksys ${PSEH_LIB})
add_dependencies(user32 asm)
if(MSVC) if(MSVC)
# for __ftol2_sse, float to int cast helper # for __ftol2_sse, float to int cast helper

View file

@ -17,8 +17,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(user32);
#ifdef __i386__ #ifdef __i386__
/* For bad applications which provide bad (non stdcall) WndProc */ /* For bad applications which provide bad (non stdcall) WndProc */
extern extern
__cdecl
LRESULT LRESULT
__cdecl
CALL_EXTERN_WNDPROC( CALL_EXTERN_WNDPROC(
WNDPROC WndProc, WNDPROC WndProc,
HWND hWnd, HWND hWnd,

View file

@ -15,8 +15,8 @@
.code .code
/* /*
* __cdecl
* LRESULT * LRESULT
* __cdecl
* CALL_EXTERN_WNDPROC( * CALL_EXTERN_WNDPROC(
* WNDPROC WndProc, * WNDPROC WndProc,
* HWND hWnd, * HWND hWnd,
@ -54,3 +54,5 @@ FUNC _CALL_EXTERN_WNDPROC
ret ret
ENDFUNC ENDFUNC
END