From: Josef 'Jeff' Sipek Date: Thu, 5 Jul 2018 14:50:32 +0000 (-0400) Subject: lib: mempool - Remove unnecessary check X-Git-Tag: 2.3.9~1599 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95089f6bf7e8496705ea33b922112fcf70101d2f;p=thirdparty%2Fdovecot%2Fcore.git lib: mempool - Remove unnecessary check The previous commit guarantees that we always have one of _ILP32 and _LP64 defined so we don't have to check ourselves. --- diff --git a/src/lib/test-mempool.c b/src/lib/test-mempool.c index edf6e038e4..7c707dd33a 100644 --- a/src/lib/test-mempool.c +++ b/src/lib/test-mempool.c @@ -12,10 +12,8 @@ typedef char uint32max_array_t[65535]; #if defined(_LP64) #define LITTLE_MAX ((unsigned long long) INT32_MAX) -#elif defined(_ILP32) -#define LITTLE_MAX ((unsigned long long) INT16_MAX) #else -#error unsupported pointer size +#define LITTLE_MAX ((unsigned long long) INT16_MAX) #endif extern struct pool test_pool;