feature_test_macros.7: Note that "cc -pthread" defines _REENTRANT

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-09 13:34:05 +01:00
parent f74991beed
commit 26719dcfce
1 changed files with 3 additions and 0 deletions

View File

@ -560,6 +560,9 @@ or
then
.B _REENTRANT
has no effect.
This flag is automatically defined if one compiles with
.IR "cc\ \-pthread" .
.TP
.B _THREAD_SAFE
Synonym for the (deprecated)