]> git.eshelyaron.com Git - emacs.git/commit
Portability fixes in emacs-module-tests
authorEli Zaretskii <eliz@gnu.org>
Fri, 19 Jan 2018 09:20:12 +0000 (11:20 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 19 Jan 2018 09:20:12 +0000 (11:20 +0200)
commitc28d4b6d8e1ad3d8c96329239a01af9d1dc048c5
treee72b683e98ddb68590356f2d2a34f9aad6d9c1bc
parent1d50c185f0c857bb1a85945314b522540071f796
Portability fixes in emacs-module-tests

* test/Makefile.in (abs_top_srcdir): Add variable, needed by
CPPFLAGS.
* test/data/emacs-module/mod-test.c: Include <limits.h>.
(pT, pZ, T_TYPE, Z_TYPE): Compatibility macros, for systems that
don't support %td and %zu format specs.
(emacs_module_init): Use compatibility macros to make the error
messages print meaningful values (and avoid compiler warnings).
test/Makefile.in
test/data/emacs-module/mod-test.c