Fix the build for msvc users.
authorMark Jansen <mark.jansen@reactos.org>
Mon, 29 Aug 2016 13:15:44 +0000 (13:15 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Mon, 29 Aug 2016 13:15:44 +0000 (13:15 +0000)
svn path=/trunk/; revision=72500

reactos/win32ss/user/user32/CMakeLists.txt
reactos/win32ss/user/user32/windows/message.c
reactos/win32ss/user/user32/windows/wndproc_fixup.S

index 4d0fe25..fdc280a 100644 (file)
@@ -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
index 02e5e90..51d0e44 100644 (file)
@@ -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,
index ff6bf39..d2c1d91 100644 (file)
@@ -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