diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-03-17 15:19:10 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-04-09 15:05:16 +0100 |
commit | 1ae525b3d236b59e6437b2b5433d460e18370973 (patch) | |
tree | bf8b10fb0bb22de0dc81da0d55c9bdfd2d8bf7f2 | |
parent | fc3e6ddb2c8e922ea80f2dc5cbc1df2102e30d99 (diff) |
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 <jon.turney@dronecode.org.uk>
Reviewed-by: David Macek <david.macek.0@gmail.com>
-rw-r--r-- | listing.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -108,6 +108,7 @@ SOFTWARE. #endif #ifdef WIN32 +# define WIN32_LEAN_AND_MEAN # include <X11/Xwindows.h> # define FileName(file) file.cFileName # undef TEXT |