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

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 <>
Reviewed-by: default avatarDavid Macek <>
parent fc3e6ddb
......@@ -108,6 +108,7 @@ SOFTWARE.
#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
# include <X11/Xwindows.h>
# define FileName(file) file.cFileName
# undef TEXT
Supports Markdown
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