Zebediah Figura : user32: Compile some functions only on 64-bit architectures.
Alexandre Julliard
julliard at winehq.org
Mon Mar 28 15:53:39 CDT 2022
Module: wine
Branch: master
Commit: ed8cf75a5305d9bfa2c6b97ca27a7370794fba1c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ed8cf75a5305d9bfa2c6b97ca27a7370794fba1c
Author: Zebediah Figura <zfigura at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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.@)
*/
More information about the wine-cvs
mailing list