Commit cf4a781e authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

winex11.drv: Define ControlMask when not available.

parent 4c3cc858
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
# endif # endif
#endif #endif
#include "windef.h"
#include "winbase.h"
#include "x11drv.h" #include "x11drv.h"
#include "winternl.h" #include "winternl.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -39,13 +39,7 @@ ...@@ -39,13 +39,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include "windef.h"
#include "winbase.h"
#include "x11drv.h" #include "x11drv.h"
/* avoid conflict with field names in included win32 headers */
#undef Status
#include "shlobj.h" /* DROPFILES */ #include "shlobj.h" /* DROPFILES */
#include "shellapi.h" #include "shellapi.h"
......
...@@ -44,14 +44,13 @@ ...@@ -44,14 +44,13 @@
#define NONAMELESSUNION #define NONAMELESSUNION
#include "windef.h" #include "x11drv.h"
#include "winbase.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "winreg.h" #include "winreg.h"
#include "winnls.h" #include "winnls.h"
#include "ime.h" #include "ime.h"
#include "x11drv.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/debug.h" #include "wine/debug.h"
...@@ -64,6 +63,8 @@ ...@@ -64,6 +63,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(keyboard); WINE_DEFAULT_DEBUG_CHANNEL(keyboard);
WINE_DECLARE_DEBUG_CHANNEL(key); WINE_DECLARE_DEBUG_CHANNEL(key);
static const unsigned int ControlMask = 1 << 2;
static int min_keycode, max_keycode, keysyms_per_keycode; static int min_keycode, max_keycode, keysyms_per_keycode;
static KeySym *key_mapping; static KeySym *key_mapping;
static WORD keyc2vkey[256], keyc2scan[256]; static WORD keyc2vkey[256], keyc2scan[256];
......
...@@ -50,11 +50,9 @@ MAKE_FUNCPTR(XcursorLibraryLoadCursor); ...@@ -50,11 +50,9 @@ MAKE_FUNCPTR(XcursorLibraryLoadCursor);
#define NONAMELESSUNION #define NONAMELESSUNION
#define OEMRESOURCE #define OEMRESOURCE
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "x11drv.h" #include "x11drv.h"
#include "winreg.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -43,14 +43,14 @@ ...@@ -43,14 +43,14 @@
/* avoid conflict with field names in included win32 headers */ /* avoid conflict with field names in included win32 headers */
#undef Status #undef Status
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h" #include "x11drv.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "x11drv.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/server.h" #include "wine/server.h"
#include "mwm.h" #include "mwm.h"
......
...@@ -57,6 +57,9 @@ ...@@ -57,6 +57,9 @@
#undef Status /* avoid conflict with wintrnl.h */ #undef Status /* avoid conflict with wintrnl.h */
typedef int Status; typedef int Status;
/* avoid conflict with processthreadsapi.h */
#undef ControlMask
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "ntgdi.h" #include "ntgdi.h"
......
...@@ -45,14 +45,12 @@ ...@@ -45,14 +45,12 @@
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#define VK_NO_PROTOTYPES #define VK_NO_PROTOTYPES
#define WINE_VK_HOST #define WINE_VK_HOST
#include "x11drv.h" #include "x11drv.h"
#include "winreg.h"
#include "xcomposite.h" #include "xcomposite.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/debug.h" #include "wine/debug.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment