1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/tests/test-xstrtoll.c
Bruno Haible 5d9d0509e3 xstrtol tests: Don't rely on is_GNULIB_strtol.
In a testdir, the Gnulib replacement for strtol may be used in gltests/
but not in gllib/.

* tests/test-xstrtol.c (is_GNULIB_strtol): Remove macro.
(main): Accept both behaviours of strtol on all platforms except MSVC.
* tests/test-xstrtoll.c (is_GNULIB_strtol): Remove macro.
2026-04-25 18:16:12 +02:00

5 lines
107 B
C

#define __xstrtol xstrtoll
#define __strtol_t long long int
#define __spec "lld"
#include "test-xstrtol.c"