]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
global: Use #ifdef instead of #if with WORDS_BIGENDIAN
authorMartti Rannanjärvi <martti.rannanjarvi@dovecot.fi>
Fri, 27 Oct 2017 08:03:07 +0000 (11:03 +0300)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Mon, 30 Oct 2017 08:18:50 +0000 (10:18 +0200)
commitdebc93e622751c6c09e8105e504c5833f1ca0d6d
treef37984837a70be829d50fd53c7aed0d1a035ec0b
parentd534a96e0238c8cfb9d857d6a91ea5c48a0b50d9
global: Use #ifdef instead of #if with WORDS_BIGENDIAN

This is to not rely on undefined WORDS_BIGENDIAN being evaluated as 0.
src/lib-index/mail-index-map-hdr.c
src/lib-index/mail-index-map.c
src/lib-index/mail-transaction-log-file.c
src/lib/byteorder.h
src/lib/sha1.c
src/lib/test-byteorder.c