]> granicus.if.org Git - strace/commit
Do not define printnum_long_int on systems with constant current_wordsize
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Dec 2016 13:50:14 +0000 (13:50 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Dec 2016 13:50:14 +0000 (13:50 +0000)
commit3fb2f299d2044fc5b57c55ddf6bcc6feba923d6f
tree5179cfe0fe8a5cc79f5d91068ff009df60674ae4
parent825acc827e6038239acddedcb56ec26338391388
Do not define printnum_long_int on systems with constant current_wordsize

* defs.h: Check [!current_wordsize] instead
of [SUPPORTED_PERSONALITIES > 1 && SIZEOF_LONG > 4] to select
definitions of printnum_slong, printnum_ulong, and printnum_ptr.
* util.c: Check [!current_wordsize] instead
of [SUPPORTED_PERSONALITIES > 1 && SIZEOF_LONG > 4] to decide
whether to compile printnum_long_int.
defs.h
util.c