From fd0e059c2b13b8e5f3b8c7cb1ed6a3a618f44ad7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 28 May 2005 14:29:45 +0000 Subject: [PATCH] use unsigned long long for counters, if available --- include/ldap_pvt.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/ldap_pvt.h b/include/ldap_pvt.h index 6d54e7e927..2d810b04e0 100644 --- a/include/ldap_pvt.h +++ b/include/ldap_pvt.h @@ -325,7 +325,11 @@ typedef mpz_t ldap_pvt_mp_t; * Use unsigned long */ -typedef unsigned long ldap_pvt_mp_t; +#ifdef HAVE_LONG_LONG +typedef unsigned long long ldap_pvt_mp_t; +#else /* !HAVE_LONG_LONG */ +typedef unsigned long ldap_pvt_mp_t; +#endif /* !HAVE_LONG_LONG */ #define ldap_pvt_mp_init(mp) \ (mp) = 0 -- 2.39.5