Oskar Liljeblad wrote:
> http://autoconf-archive.cryp.to/acx_pthread.html
That macro also contains this:
case "${host_cpu}-${host_os}" in
*-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
esac
But on Solaris, OSF/1, HP-UX, the use of -D_REENTRANT has the effect of
defining 'errno' differently. Does this mean that exported library functions
that set errno, built with -D_REENTRANT, will not work with a program that
has been built without -D_REENTRANT ?
All I know is that glibc does not have this problem. But what exactly is
the extent of the problem on these three Unices?
Bruno
_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib