mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#3643 limits.h, INT_MAX
This commit is contained in:
parent
26a101edce
commit
eca819d866
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user