Add varients of REENTRANT...

This commit is contained in:
Kurt Zeilenga 1998-11-30 20:40:42 +00:00
parent daaf487bdd
commit febafbdf28
4 changed files with 211 additions and 194 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 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

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