This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Feb 2018 23:29:29 +0000
- Subject: [Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux
- Auto-submitted: auto-generated
- References: <bug-84475-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Note that _REENTRANT is a no-op with glibc 2.25 or later unless you
specifically select an old standard version (in which case it's an alias
for _POSIX_C_SOURCE=199506L).