]> git.draconx.ca Git - dxcommon.git/commit
copysym: Avoid dependency on <stdint.h>
authorNick Bowler <nbowler@draconx.ca>
Fri, 17 Nov 2023 04:07:34 +0000 (23:07 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 18 Nov 2023 21:39:55 +0000 (16:39 -0500)
commit6c607da0ba3527c5454229707261d79d0b6932eb
treea352db8119fd4d1b302b575c30caf39fcb75d3c0
parent26e9c015ce57db05d46a3750ec6d52064ebc3ecb
copysym: Avoid dependency on <stdint.h>

The <inttypes.h> header is older and a bit more portable.  But even
then, it is not really essential for this code.  So adjust things to
use <inttypes.h> only if the Autoconf-provided HAVE_INTTYPES_H is
defined; otherwise a C89 <limits.h>-based fallback is used.
src/copysym.c