mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +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)
|
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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue