Zebediah Figura : user32: Compile some functions only on 64-bit architectures.
Module: wine Branch: master Commit: ed8cf75a5305d9bfa2c6b97ca27a7370794fba1c URL: https://source.winehq.org/git/wine.git/?a=commit;h=ed8cf75a5305d9bfa2c6b97ca... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Sat Mar 26 19:54:03 2022 -0500 user32: Compile some functions only on 64-bit architectures. Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/class.c | 4 ++++ dlls/user32/win.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/dlls/user32/class.c b/dlls/user32/class.c index cc342cf507b..150226eb627 100644 --- a/dlls/user32/class.c +++ b/dlls/user32/class.c @@ -763,6 +763,8 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry ) } #endif +#ifdef _WIN64 + /* 64bit versions */ #undef GetClassLongPtrA @@ -803,3 +805,5 @@ ULONG_PTR WINAPI SetClassLongPtrA( HWND hwnd, INT offset, LONG_PTR newval ) if (offset == GCLP_MENUNAME) return set_menu_nameA( hwnd, offset, newval ); return NtUserSetClassLongPtr( hwnd, offset, newval, TRUE ); } + +#endif /* _WIN64 */ diff --git a/dlls/user32/win.c b/dlls/user32/win.c index 619bbba1dfe..0a3f65e5aa4 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -1828,6 +1828,7 @@ BOOL WINAPI SetProcessDefaultLayout( DWORD layout ) return TRUE; } +#ifdef _WIN64 /* 64bit versions */ @@ -1868,6 +1869,8 @@ LONG_PTR WINAPI SetWindowLongPtrA( HWND hwnd, INT offset, LONG_PTR newval ) return NtUserSetWindowLongPtr( hwnd, offset, newval, TRUE ); } +#endif /* _WIN64 */ + /***************************************************************************** * RegisterTouchWindow (USER32.@) */
participants (1)
-
Alexandre Julliard