]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/util.h
util: avoid non-portable __WORDSIZE
authorEmil Renner Berthing <systemd@esmil.dk>
Fri, 19 Sep 2014 18:26:53 +0000 (20:26 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 16:20:21 +0000 (18:20 +0200)
commit8507eb20b64010b26f23822cbf442bb0bf96511c
tree2abb8a2420ec35dfcb031275bfd62dd4ace007ad
parentc17091b79773e9c458f03a897b26c2257d7366a7
util: avoid non-portable __WORDSIZE

Lets not unnecessarily rely on __WORDSIZE, which is not clearly specified
by any spec. Use explicit size comparisons if we're not interested in the
WORDSIZE, anyway.

(David: adjust commit message to explain why we do this)
src/shared/util.h