+2018-09-06 Bruno Haible <bruno@clisp.org>
+
+ count-leading-zeros tests: Rely on limits-h module.
+ * tests/test-count-leading-zeros.c (ULLONG_MAX): Remove fallback
+ definition.
+ * modules/count-leading-zeros-tests (Depends-on): Add 'limits-h'.
+
+2018-09-06 Bruno Haible <bruno@clisp.org>
+
+ count-one-bits tests: Rely on limits-h module.
+ * tests/test-count-one-bits.c (ULLONG_MAX): Remove fallback definition.
+ * modules/count-one-bits-tests (Depends-on): Add 'limits-h'.
+
2018-09-06 Bruno Haible <bruno@clisp.org>
xstrtoll: Rely on limits-h module.
#define ULONG_BIT (sizeof (unsigned long int) * CHAR_BIT)
#define ULLONG_BIT (sizeof (unsigned long long int) * CHAR_BIT)
-#ifndef ULLONG_MAX
-# define HALF (1ULL << (sizeof (unsigned long long int) * CHAR_BIT - 1))
-# define ULLONG_MAX (HALF - 1 + HALF)
-#endif
-
int
main (int argc, char *argv[])
{