From 79f968ecf1b8bfa934264f2b6423e53cbbd9097a Mon Sep 17 00:00:00 2001 From: Reece Dunn Date: Sat, 18 Oct 2008 10:56:52 +0100 Subject: [PATCH] msvcmaker: added COM_NO_WINDOWS_H to support midl-generated headers for __WINESRC__ components. --- tools/winapi/msvcmaker | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index 957e232..399d0ad 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -749,7 +749,8 @@ sub _generate_dsp($$) { my @defines2 = qw(_CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE USE_COMPILER_EXCEPTIONS _USE_MATH_DEFINES - WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700); + WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 + COM_NO_WINDOWS_H); if($debug) { if($lib) { print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od"; -- 1.5.6.1.1071.g76fb