mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Fix the build for msvc users.
svn path=/trunk/; revision=72500
This commit is contained in:
parent
820426939a
commit
0c589e512f
3 changed files with 5 additions and 2 deletions
|
@ -79,6 +79,7 @@ add_library(user32 SHARED
|
|||
|
||||
set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE)
|
||||
target_link_libraries(user32 user32_wsprintf wine win32ksys ${PSEH_LIB})
|
||||
add_dependencies(user32 asm)
|
||||
|
||||
if(MSVC)
|
||||
# for __ftol2_sse, float to int cast helper
|
||||
|
|
|
@ -17,8 +17,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(user32);
|
|||
#ifdef __i386__
|
||||
/* For bad applications which provide bad (non stdcall) WndProc */
|
||||
extern
|
||||
__cdecl
|
||||
LRESULT
|
||||
__cdecl
|
||||
CALL_EXTERN_WNDPROC(
|
||||
WNDPROC WndProc,
|
||||
HWND hWnd,
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
.code
|
||||
|
||||
/*
|
||||
* __cdecl
|
||||
* LRESULT
|
||||
* __cdecl
|
||||
* CALL_EXTERN_WNDPROC(
|
||||
* WNDPROC WndProc,
|
||||
* HWND hWnd,
|
||||
|
@ -54,3 +54,5 @@ FUNC _CALL_EXTERN_WNDPROC
|
|||
ret
|
||||
|
||||
ENDFUNC
|
||||
|
||||
END
|
||||
|
|
Loading…
Reference in a new issue