mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
Add varients of REENTRANT...
This commit is contained in:
parent
daaf487bdd
commit
febafbdf28
4 changed files with 211 additions and 194 deletions
|
|
@ -7,13 +7,14 @@
|
|||
|
||||
|
||||
/* define this if needed to get reentrant functions */
|
||||
#undef REENTRANT
|
||||
#undef _REENTRANT
|
||||
|
||||
/* define this if needed to get threadsafe functions */
|
||||
#undef _THREAD_SAFE
|
||||
|
||||
/* define this if needed to get threadsafe functions */
|
||||
#undef THREADSAFE
|
||||
#undef _THREADSAFE
|
||||
#undef THREAD_SAFE
|
||||
#undef _THREAD_SAFE
|
||||
|
||||
/* define this if cross compiling */
|
||||
#undef CROSS_COMPILING
|
||||
|
|
|
|||
|
|
@ -750,8 +750,11 @@ fi
|
|||
if test $ol_with_threads != no ; then
|
||||
dnl needed to get reentrant/threadsafe versions
|
||||
dnl
|
||||
AC_DEFINE(REENTRANT,1)
|
||||
AC_DEFINE(_REENTRANT,1)
|
||||
AC_DEFINE(THREAD_SAFE,1)
|
||||
AC_DEFINE(_THREAD_SAFE,1)
|
||||
AC_DEFINE(THREADSAFE,1)
|
||||
AC_DEFINE(_THREADSAFE,1)
|
||||
|
||||
dnl this might cause the errno symbol to be
|
||||
|
|
|
|||
|
|
@ -111,13 +111,14 @@ is provided ``as is'' without express or implied warranty.
|
|||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/* define this if needed to get reentrant functions */
|
||||
#undef REENTRANT
|
||||
#undef _REENTRANT
|
||||
|
||||
/* define this if needed to get threadsafe functions */
|
||||
#undef _THREAD_SAFE
|
||||
|
||||
/* define this if needed to get threadsafe functions */
|
||||
#undef THREADSAFE
|
||||
#undef _THREADSAFE
|
||||
#undef THREAD_SAFE
|
||||
#undef _THREAD_SAFE
|
||||
|
||||
/* define this if cross compiling */
|
||||
#undef CROSS_COMPILING
|
||||
|
|
|
|||
Loading…
Reference in a new issue