Import REENTRANT define fix from -devel.

This commit is contained in:
Kurt Zeilenga 1998-11-30 21:19:31 +00:00
parent bbf92983a0
commit 2f54bd185f
4 changed files with 213 additions and 196 deletions

View file

@ -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

388
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -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

View file

@ -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