diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-16 11:26:51 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-16 10:37:55 +0000 |
commit | ce43d0ae9279edbf1ad108fe0d8325327a038d49 (patch) | |
tree | a0fbf7bbd608d1185005a0de36496c6f3656e798 /vcl/inc | |
parent | 049cf885c6e6c12ac9fa20bcb4ca1472de5b9115 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/salglyphid.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/sft.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/salglyphid.hxx b/vcl/inc/salglyphid.hxx index 23ce1ce02104..c449e1bd4b47 100644 --- a/vcl/inc/salglyphid.hxx +++ b/vcl/inc/salglyphid.hxx @@ -29,7 +29,7 @@ typedef sal_uInt32 sal_GlyphId; #define GF_ISCHAR 0x00800000 #define GF_ROTL 0x01000000 -#ifdef WIN32 +#ifdef _WIN32 // caution !!! #define GF_VERT 0x02000000 // GF_VERT is only for windows implementation diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx index e346d83ad3fc..c7f6630bb993 100644 --- a/vcl/inc/sft.hxx +++ b/vcl/inc/sft.hxx @@ -252,7 +252,7 @@ namespace vcl * @ingroup sft */ int VCL_DLLPUBLIC OpenTTFontBuffer(const void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf); -#if !defined(WIN32) +#if !defined(_WIN32) /** * TrueTypeFont constructor. * Reads the font file and allocates the memory for the structure. |