Check for HAVE_LONG_LONG in STRTOL macro

This commit is contained in:
Luke Howard 2003-09-22 14:01:31 +00:00
parent 5fb7ea2294
commit ff073b8cd5

View File

@ -1791,7 +1791,7 @@ numericStringNormalize(
* Integer conversion macros that will use the largest available
* type.
*/
#if defined(HAVE_STRTOLL) && defined(LLONG_MAX) && defined(LLONG_MIN)
#if defined(HAVE_STRTOLL) && defined(LLONG_MAX) && defined(LLONG_MIN) && defined(HAVE_LONG_LONG)
# define SLAP_STRTOL(n,e,b) strtoll(n,e,b)
# define SLAP_LONG_MAX LLONG_MAX
# define SLAP_LONG_MIN LLONG_MIN