include: The PSDK headers don't define WM_SYSTIMER so we shouldn't
either.
Francois Gouget
fgouget at free.fr
Thu Nov 9 04:24:16 CST 2006
Update the code accordingly. This fixes compilation with the PSDK headers.
---
dlls/user/tests/msg.c | 4 ++++
dlls/user/user_private.h | 2 ++
include/winuser.h | 1 -
3 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/user/tests/msg.c b/dlls/user/tests/msg.c
index 175c5bb..3ddb878 100644
--- a/dlls/user/tests/msg.c
+++ b/dlls/user/tests/msg.c
@@ -42,6 +42,10 @@ #define SWP_NOCLIENTMOVE 0x1000
#define SW_NORMALNA 0xCC /* undoc. flag in MinMaximize */
+#ifndef WM_SYSTIMER
+#define WM_SYSTIMER 0x0118
+#endif
+
#define WND_PARENT_ID 1
#define WND_POPUP_ID 2
#define WND_CHILD_ID 3
diff --git a/dlls/user/user_private.h b/dlls/user/user_private.h
index acb1f5a..1a975b4 100644
--- a/dlls/user/user_private.h
+++ b/dlls/user/user_private.h
@@ -81,6 +81,8 @@ #define USER_HEAP_LIN_ADDR(handle) \
#define GET_WORD(ptr) (*(const WORD *)(ptr))
#define GET_DWORD(ptr) (*(const DWORD *)(ptr))
+#define WM_SYSTIMER 0x0118
+
/* internal messages codes */
enum wine_internal_message
{
diff --git a/include/winuser.h b/include/winuser.h
index 4cb8a47..8015ea2 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -1105,7 +1105,6 @@ #define WM_INITDIALOG 0x0110
#define WM_COMMAND 0x0111
#define WM_SYSCOMMAND 0x0112
#define WM_TIMER 0x0113
-#define WM_SYSTIMER 0x0118
/* scroll messages */
#define WM_HSCROLL 0x0114
--
1.4.1.1
More information about the wine-patches
mailing list