summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-02 14:11:40 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-02 15:38:40 +0200
commitf6ed2305abb0289ad51605ceeaee607a0bc8d7bd (patch)
tree14a2f75001213659128d2db8d6844cac30783fa0 /vcl
parente144eeb1ca868e93f5a69ca14a12b036def45980 (diff)
vcl: GIF import: don't use __LP64__ to check for a 64-bit system
__LP64__ is not defined in MSVC AMD64 builds, since it doesn't have 64-bit longs. This caused the vcl_filters_test to fail because loading the file for which that check is a work-around succeeded. Change-Id: I4df48d4b196a1d08e9bd5ef61b64ec63501037c9
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/igif/gifread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx
index aac672f22271..f008b1bd9125 100644
--- a/vcl/source/filter/igif/gifread.cxx
+++ b/vcl/source/filter/igif/gifread.cxx
@@ -172,7 +172,7 @@ void GIFReader::CreateBitmaps( long nWidth, long nHeight, BitmapPalette* pPal,
{
const Size aSize( nWidth, nHeight );
-#ifdef __LP64__
+#if SAL_TYPES_SIZEOFPOINTER == 8
// Don't bother allocating a bitmap of a size that would fail on a
// 32-bit system. We have at least one unit tests that is expected
// to fail (loading a 65535*65535 size GIF