ITS#3643 limits.h, INT_MAX

This commit is contained in:
Howard Chu 2005-04-09 06:41:39 +00:00
parent 26a101edce
commit eca819d866

View File

@ -29,6 +29,14 @@
#ifdef HAVE_CYRUS_SASL #ifdef HAVE_CYRUS_SASL
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifndef INT_MAX
#define INT_MAX 2147483647 /* 32 bit signed max */
#endif
#ifdef LDAP_R_COMPILE #ifdef LDAP_R_COMPILE
ldap_pvt_thread_mutex_t ldap_int_sasl_mutex; ldap_pvt_thread_mutex_t ldap_int_sasl_mutex;
#endif #endif