Commit 1ae525b3 authored by Jon Turney's avatar Jon Turney

Define WIN32_LEAN_AND_MEAN when building on Win32

w32api/rpcnndr.h (included by windows.h) uses TypeString as the name of a structure member.

xkbcomp.h defines it as a macro for a constant.

Define WIN32_LEAN_AND_MEAN to avoid this clash.
Signed-off-by: Jon Turney's avatarJon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: default avatarDavid Macek <david.macek.0@gmail.com>
parent fc3e6ddb
......@@ -108,6 +108,7 @@ SOFTWARE.
#endif
#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
# include <X11/Xwindows.h>
# define FileName(file) file.cFileName
# undef TEXT
......
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