Skip to content
Snippets Groups Projects
Commit 2f54bd18 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Import REENTRANT define fix from -devel.

parent bbf92983
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
This diff is collapsed.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment