[PATCH 1/2] user32: Remove redundant #ifdef around #undef.
Zebediah Figura
zfigura at codeweavers.com
Sat Mar 26 19:54:02 CDT 2022
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
dlls/user32/class.c | 11 -----------
dlls/user32/win.c | 11 -----------
2 files changed, 22 deletions(-)
diff --git a/dlls/user32/class.c b/dlls/user32/class.c
index e2eb60d8bbf..cc342cf507b 100644
--- a/dlls/user32/class.c
+++ b/dlls/user32/class.c
@@ -765,21 +765,10 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry )
/* 64bit versions */
-#ifdef GetClassLongPtrA
#undef GetClassLongPtrA
-#endif
-
-#ifdef GetClassLongPtrW
#undef GetClassLongPtrW
-#endif
-
-#ifdef SetClassLongPtrA
#undef SetClassLongPtrA
-#endif
-
-#ifdef SetClassLongPtrW
#undef SetClassLongPtrW
-#endif
/***********************************************************************
* GetClassLongPtrA (USER32.@)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index b49afec9bd1..619bbba1dfe 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -1831,21 +1831,10 @@ BOOL WINAPI SetProcessDefaultLayout( DWORD layout )
/* 64bit versions */
-#ifdef GetWindowLongPtrW
#undef GetWindowLongPtrW
-#endif
-
-#ifdef GetWindowLongPtrA
#undef GetWindowLongPtrA
-#endif
-
-#ifdef SetWindowLongPtrW
#undef SetWindowLongPtrW
-#endif
-
-#ifdef SetWindowLongPtrA
#undef SetWindowLongPtrA
-#endif
/*****************************************************************************
* GetWindowLongPtrW (USER32.@)
--
2.34.1
More information about the wine-devel
mailing list