summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-23 15:11:12 +0000
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-23 15:11:12 +0000
commit92694c7a9685577d76c6e05e0e2feb327bee8d5a (patch)
treee4fe9e797fe2c821b0d8c4d6fd05c821bfc6aa7d
parent729d2890707a7e8c4f5f257c5b92747c763b2243 (diff)
downloadcygnal-92694c7a9685577d76c6e05e0e2feb327bee8d5a.tar.gz
cygnal-92694c7a9685577d76c6e05e0e2feb327bee8d5a.tar.bz2
cygnal-92694c7a9685577d76c6e05e0e2feb327bee8d5a.zip
This fixes regression in <winable.h> introduced by previous change.
-rw-r--r--winsup/w32api/include/winable.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/winsup/w32api/include/winable.h b/winsup/w32api/include/winable.h
index 423ffd46e..b7326c5b0 100644
--- a/winsup/w32api/include/winable.h
+++ b/winsup/w32api/include/winable.h
@@ -4,13 +4,18 @@
#pragma GCC system_header
#endif
+#include <stdarg.h>
+
#ifdef __cplusplus
extern "C" {
#endif
+#if (_WIN32_WINNT < 0x0403)
#define INPUT_MOUSE 0
#define INPUT_KEYBOARD 1
#define INPUT_HARDWARE 2
+#endif /* (_WIN32_WINNT < 0x04030) */
+#if (WINVER < 0x0500)
#define CHILDID_SELF 0
#define OBJID_WINDOW 0x00000000
#define OBJID_SYSMENU 0xFFFFFFFF
@@ -29,9 +34,6 @@ extern "C" {
#define GUI_INMENUMODE 0x00000004
#define GUI_SYSTEMMENUMODE 0x00000008
#define GUI_POPUPMENUMODE 0x00000010
-#if(_WIN32_WINNT >= 0x0501)
-#define GUI_16BITTASK 0x00000020
-#endif
typedef struct tagGUITHREADINFO {
DWORD cbSize;
DWORD flags;
@@ -43,6 +45,7 @@ typedef struct tagGUITHREADINFO {
HWND hwndCaret;
RECT rcCaret;
} GUITHREADINFO,*PGUITHREADINFO;
+#endif /* (WINVER < 0x0500) */
#ifdef __cplusplus
}