mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Import REENTRANT define fix from -devel.
This commit is contained in:
parent
bbf92983a0
commit
2f54bd185f
4 changed files with 213 additions and 196 deletions
|
|
@ -7,13 +7,14 @@
|
|||
|
||||
|
||||
/* define this if needed to get reentrant functions */
|
||||
#undef REENTRANT
|
||||
#undef _REENTRANT
|
||||
|
||||
/* define this if needed to get thread safe functions */
|
||||
#undef _THREAD_SAFE
|
||||
|
||||
/* define this if needed to get thread safe functions */
|
||||
/* 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 thread safe functions */
|
||||
#undef _THREAD_SAFE
|
||||
|
||||
/* define this if needed to get thread safe functions */
|
||||
/* 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