aboutsummaryrefslogtreecommitdiffstats
path: root/man7/feature_test_macros.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-12-09 13:34:05 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-12-10 15:20:21 +0100
commit26719dcfcea9c42edbf5ad4dc73d9819a1c36777 (patch)
tree6e96071a9bf22c2210907e70392995bc2a603e6a /man7/feature_test_macros.7
parentf74991beedcc849956c11888adbfddd6cde7a3c6 (diff)
downloadman-pages-26719dcfcea9c42edbf5ad4dc73d9819a1c36777.tar.gz
feature_test_macros.7: Note that "cc -pthread" defines _REENTRANT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/feature_test_macros.7')
-rw-r--r--man7/feature_test_macros.73
1 files changed, 3 insertions, 0 deletions
diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7
index 82502fb989..1deb8fd4d7 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)