On dropping -D_REENTRANT -D_THREAD_SAFE
Simon Josefsson
simon at josefsson.org
Sat Jan 5 10:58:53 CET 2008
Sam Varshavchik <mrsam at courier-mta.com> writes:
> Simon Josefsson writes:
>
>> My conclusion is that -D_REENTRANT -D_THREAD_SAFE is not needed on glibc
>> systems. Does anyone know of other systems that needs these defines to
>> work properly?
>>
>> I'm inclined to remove the lines from configure.in. If some other
>> system needs this to have working standard C/POSIX functions, we could
>> solve it via a gnulib module, I suppose.
>
> You don't even need to do that at all. If someone needs these symbols,
> they can simply set CPPFLAGS before running configure (the -D flags
> belong in CPPFLAGS, rather than CFLAGS, in any case).
I have removed them. Let's see if someone complains about it.
/Simon
More information about the Gnutls-devel
mailing list