mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-15 05:23:40 +00:00
kdrive: fix build on win32/mingw
Yet one more clash between <windows.h> and Xserver on `CreateWindow` symbol: The windows header has a `#define CreateWindow CreateWindowA`, so we need to #undef it everywhere we're using `CreateWindow` - until we've got that ugly header out of the way completely. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
3765d8a7b9
commit
bb1f1752bd
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@
|
|||
#include <dixstruct.h>
|
||||
#include "privates.h"
|
||||
|
||||
/* workaround for <windows.h> being included somewhere and conflicting with us */
|
||||
#undef CreateWindow
|
||||
|
||||
#ifdef RANDR
|
||||
#include <randrstr.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue