summaryrefslogtreecommitdiff
path: root/src/3rdparty/minilzo/minilzo.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-18 22:51:43 +0000
committerrubidium <rubidium@openttd.org>2009-08-18 22:51:43 +0000
commit40d1f1fedf4360a59ef21f9fca98e6272b5c6e2d (patch)
tree48630610e30415b008400cb1fc39c751f2a66679 /src/3rdparty/minilzo/minilzo.c
parentd4adee0b1d8b064309c9444488a093749006a7eb (diff)
downloadopenttd-40d1f1fedf4360a59ef21f9fca98e6272b5c6e2d.tar.xz
(svn r17217) -Fix (r17216): silence some warnings for the more exotic GCC-alikes
Diffstat (limited to 'src/3rdparty/minilzo/minilzo.c')
-rw-r--r--src/3rdparty/minilzo/minilzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/minilzo/minilzo.c b/src/3rdparty/minilzo/minilzo.c
index 6ec4d781f..f1b942040 100644
--- a/src/3rdparty/minilzo/minilzo.c
+++ b/src/3rdparty/minilzo/minilzo.c
@@ -1925,7 +1925,7 @@ extern "C" {
# define lzo_uintptr_t unsigned long
# elif (LZO_SIZEOF_INT == LZO_SIZEOF_VOID_P)
# define lzo_uintptr_t unsigned int
-# elif (LZO_SIZEOF_LONG_LONG == LZO_SIZEOF_VOID_P)
+# elif defined(LZO_SIZEOF_LONG_LONG) && (LZO_SIZEOF_LONG_LONG == LZO_SIZEOF_VOID_P)
# define lzo_uintptr_t unsigned long long
# else
# define lzo_uintptr_t size_t
@@ -2481,7 +2481,7 @@ __lzo_init_v2(unsigned v, int s1, int s2, int s3, int s4, int s5,
int r;
#if defined(__LZO_IN_MINILZO)
-#elif (LZO_CC_MSC && ((_MSC_VER) < 700))
+#elif defined(LZO_CC_MSC) && ((_MSC_VER) < 700)
#else
#define ACC_WANT_ACC_CHK_CH 1
#undef ACCCHK_ASSERT