diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-16 14:14:43 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-17 11:33:57 +0000 |
commit | 2087484c65a3d5e75a9e8ad116d11a4e13366219 (patch) | |
tree | 1f335918a854319df9269329d165a91d711d2108 /lingucomponent/source/lingutil/lingutil.cxx | |
parent | ForceReposition is unused (diff) | |
download | core-2087484c65a3d5e75a9e8ad116d11a4e13366219.tar.gz core-2087484c65a3d5e75a9e8ad116d11a4e13366219.zip |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'lingucomponent/source/lingutil/lingutil.cxx')
-rw-r--r-- | lingucomponent/source/lingutil/lingutil.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx index d0da501e22e4..e187ad542b53 100644 --- a/lingucomponent/source/lingutil/lingutil.cxx +++ b/lingucomponent/source/lingutil/lingutil.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#if defined(WNT) +#if defined(_WIN32) #include <windows.h> #endif @@ -45,7 +45,7 @@ using ::com::sun::star::lang::Locale; using namespace ::com::sun::star; -#if defined(WNT) +#if defined(_WIN32) OString Win_AddLongPathPrefix( const OString &rPathName ) { #define WIN32_LONG_PATH_PREFIX "\\\\?\\" |