From 2087484c65a3d5e75a9e8ad116d11a4e13366219 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 Feb 2016 14:14:43 +0200 Subject: use consistent #define checks for the Windows platform stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins Reviewed-by: Noel Grandin --- bin/update_pch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/update_pch b/bin/update_pch index 037dca85bb21..d910ee1717c2 100755 --- a/bin/update_pch +++ b/bin/update_pch @@ -750,7 +750,7 @@ def generate(includes, libname, filename, module): # svx needs this (sendreportw32.cxx) if module == 'svx' and libname == 'svx': svx_define = """ -#ifdef WNT +#ifdef _WIN32 # define UNICODE # define _UNICODE #endif @@ -767,7 +767,7 @@ def generate(includes, libname, filename, module): (module == 'xmlsecurity' and libname == 'xsec_xmlsec'): ado_define = """ // Cleanup windows header macro pollution. -#if defined(WNT) && defined(WINAPI) +#if defined(_WIN32) && defined(WINAPI) # include # undef RGB #endif -- cgit