From ce43d0ae9279edbf1ad108fe0d8325327a038d49 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 Feb 2016 11:26:51 +0200 Subject: use consistent #define checks for the Windows platform stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins Reviewed-by: Michael Stahl --- sfx2/source/doc/syspathw32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/doc/syspathw32.cxx') diff --git a/sfx2/source/doc/syspathw32.cxx b/sfx2/source/doc/syspathw32.cxx index 422a0e0c2e89..72b9952896e1 100644 --- a/sfx2/source/doc/syspathw32.cxx +++ b/sfx2/source/doc/syspathw32.cxx @@ -59,7 +59,7 @@ static bool _SHGetSpecialFolderW32( int nFolderID, WCHAR* pszFolder, int nSize ) // time to time to very nasty compilation errors. If someone finds a better // way to solve these probs please remove this copied part! typedef unsigned short sal_uInt16; -#if ( defined(WIN32) && !defined(__MINGW32__) ) +#if defined(_WIN32) && !defined(__MINGW32__) typedef wchar_t sal_Unicode; #else typedef sal_uInt16 sal_Unicode; -- cgit