From: Luke Howard Date: Mon, 22 Sep 2003 14:01:31 +0000 (+0000) Subject: Check for HAVE_LONG_LONG in STRTOL macro X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~679 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff073b8cd51b6033677bc522e936b2fcab6f2d3c;p=openldap Check for HAVE_LONG_LONG in STRTOL macro --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 7fe8d87c5c..4d3d90c014 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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