From f61b8b312d251f9c8dd33d03d1566fd73019bf08 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 7 Jan 2015 21:33:14 +0100 Subject: win32: request UTF-16 API variants, Vista+ APIs, and COM C macros Put the Vista+ (_WIN32_WINNT) and the COM C (COBJMACROS) defines into the build system, instead of defining them over and over in the code. --- waftools/checks/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'waftools/checks/custom.py') diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index 365c388800..fb45d8697c 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -24,7 +24,7 @@ def check_pthreads(ctx, dependency_identifier): h = ctx.path.find_node('osdep/win32/include').abspath() # define IN_WINPTHREAD to workaround mingw stupidity (we never want it # to define features specific to its own pthread stuff) - ctx.env.CFLAGS += ['-isystem', h, '-I', h, '-D_WIN32_WINNT=0x600', '-DIN_WINPTHREAD'] + ctx.env.CFLAGS += ['-isystem', h, '-I', h, '-DIN_WINPTHREAD'] return True if check_pthread_flag(ctx, dependency_identifier): return True -- cgit v1.2.3