-D_REENTRANT still necessary?

Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE
Sun Jun 10 23:40:00 GMT 2001


I've just looked at the header files of a GNU libc 2.2.3 installation,
and it seems that -D_REENTRANT only results in the declaration of
get_login_r().  For example, the thread-specific errno() seems to be
activated with and without -D_REENTRANT.  In addition, the
documentation seems to say that -D_REENTRANT does not change existing
declaration (as it did in the old days).

Shall I compile libraries with -D_REENTRANT nevertheless, or is it
obsolete and/or unnecessary?

-- 
Florian Weimer 	                  Florian.Weimer@RUS.Uni-Stuttgart.DE
University of Stuttgart           http://cert.uni-stuttgart.de/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898



More information about the Libc-alpha mailing list