]> git.sur5r.net Git - openldap/commitdiff
use unsigned long long for counters, if available
authorPierangelo Masarati <ando@openldap.org>
Sat, 28 May 2005 14:29:45 +0000 (14:29 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 28 May 2005 14:29:45 +0000 (14:29 +0000)
include/ldap_pvt.h

index 6d54e7e9275dc65a066b1b5c41a11c2fdd682781..2d810b04e0125e7cfa1c6cf42ef6ac8c84540b3f 100644 (file)
@@ -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