* lib/xstrtol.c: Don't include intprops.h.
(ULLONG_MAX, LLONG_MAX, LLONG_MIN): Remove fallback definitions.
* modules/xstrtol (Depends-on): Remove 'intprops'.
* modules/xstrtoll (Depends-on): Add 'limits-h'.
+2018-09-06 Bruno Haible <bruno@clisp.org>
+
+ xstrtoll: Rely on limits-h module.
+ * lib/xstrtol.c: Don't include intprops.h.
+ (ULLONG_MAX, LLONG_MAX, LLONG_MIN): Remove fallback definitions.
+ * modules/xstrtol (Depends-on): Remove 'intprops'.
+ * modules/xstrtoll (Depends-on): Add 'limits-h'.
+
2018-09-06 Bruno Haible <bruno@clisp.org>
strtoll, strtoull: Rely on limits-h module.
#include <string.h>
#include "assure.h"
-#include "intprops.h"
-
-/* xstrtoll.c and xstrtoull.c, which include this file, require that
- ULLONG_MAX, LLONG_MAX, LLONG_MIN are defined, but <limits.h> does not
- define them on all platforms. */
-#ifndef ULLONG_MAX
-# define ULLONG_MAX TYPE_MAXIMUM (unsigned long long)
-#endif
-#ifndef LLONG_MAX
-# define LLONG_MAX TYPE_MAXIMUM (long long int)
-#endif
-#ifndef LLONG_MIN
-# define LLONG_MIN TYPE_MINIMUM (long long int)
-#endif
static strtol_error
bkm_scale (__strtol_t *x, int scale_factor)
error
getopt-gnu
gettext-h
-intprops
inttypes-incomplete
configure.ac:
lib/xstrtoull.c
Depends-on:
+limits-h
strtoll
strtoull
xstrtol