From: Vadim Zeitlin Date: Thu, 1 Sep 2005 21:47:12 +0000 (+0000) Subject: fix for -Wundef warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5887690b5ee44b66b38d7c1a48b4e1523ec5dda6 fix for -Wundef warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/tiff/tif_fax3.c b/src/tiff/tif_fax3.c index 4318bf3a32..9474e977c7 100644 --- a/src/tiff/tif_fax3.c +++ b/src/tiff/tif_fax3.c @@ -309,7 +309,7 @@ Fax3Decode2D(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) * this is <8 bytes. We optimize the code here to reflect the * machine characteristics. */ -#if defined(__alpha) || _MIPS_SZLONG == 64 || defined(__LP64__) || defined(__arch64__) +#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) || defined(__arch64__) #define FILL(n, cp) \ switch (n) { \ case 15:(cp)[14] = 0xff; case 14:(cp)[13] = 0xff; case 13: (cp)[12] = 0xff;\