File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13243,6 +13243,11 @@ fi
13243
13243
# functions are marked "not found", which is perfect.
13244
13244
#
13245
13245
if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNCS" = yes ; then
13246
+
13247
+ cat >>confdefs.h <<\_ACEOF
13248
+ #define NEED_REENTRANT_FUNCS 1
13249
+ _ACEOF
13250
+
13246
13251
_CFLAGS="$CFLAGS"
13247
13252
_LIBS="$LIBS"
13248
13253
CFLAGS="$CFLAGS $THREAD_CPPFLAGS"
Original file line number Diff line number Diff line change 1
1
dnl Process this file with autoconf to produce a configure script.
2
- dnl $PostgreSQL: pgsql/configure.in,v 1.314 2004/02/10 19:55:45 tgl Exp $
2
+ dnl $PostgreSQL: pgsql/configure.in,v 1.315 2004/02/11 17:29:01 momjian Exp $
3
3
dnl
4
4
dnl Developers, please strive to achieve this order:
5
5
dnl
@@ -1003,6 +1003,7 @@ AC_SUBST(THREAD_LIBS)
1003
1003
# functions are marked "not found", which is perfect.
1004
1004
#
1005
1005
if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNCS" = yes ; then
1006
+ AC_DEFINE(NEED_REENTRANT_FUNCS, 1, [Define if non *_r libc functions are not thread safe])
1006
1007
_CFLAGS="$CFLAGS"
1007
1008
_LIBS="$LIBS"
1008
1009
CFLAGS="$CFLAGS $THREAD_CPPFLAGS"
Original file line number Diff line number Diff line change 554
554
/* Define as the maximum alignment requirement of any C data type. */
555
555
#undef MAXIMUM_ALIGNOF
556
556
557
+ /* Define if non *_r libc functions are not thread safe */
558
+ #undef NEED_REENTRANT_FUNCS
559
+
557
560
/* Define to the address where bug reports for this package should be sent. */
558
561
#undef PACKAGE_BUGREPORT
559
562
You can’t perform that action at this time.
0 commit comments