From 26719dcfcea9c42edbf5ad4dc73d9819a1c36777 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 9 Dec 2016 13:34:05 +0100 Subject: [PATCH] feature_test_macros.7: Note that "cc -pthread" defines _REENTRANT Signed-off-by: Michael Kerrisk --- man7/feature_test_macros.7 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7 index 82502fb98..1deb8fd4d 100644 --- a/man7/feature_test_macros.7 +++ b/man7/feature_test_macros.7 @@ -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)