Zebediah Figura : user32: Remove redundant #ifdef around #undef.
Alexandre Julliard
julliard at winehq.org
Mon Mar 28 15:53:39 CDT 2022
Module: wine
Branch: master
Commit: d5400817b4987c6d37dfbc1e34569c50d05c50a9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d5400817b4987c6d37dfbc1e34569c50d05c50a9
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Sat Mar 26 19:54:02 2022 -0500
user32: Remove redundant #ifdef around #undef.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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.@)
More information about the wine-cvs
mailing list