mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
ITS#3643 limits.h, INT_MAX
This commit is contained in:
parent
26a101edce
commit
eca819d866
1 changed files with 8 additions and 0 deletions
|
|
@ -29,6 +29,14 @@
|
|||
|
||||
#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
|
||||
ldap_pvt_thread_mutex_t ldap_int_sasl_mutex;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue