public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Reentrancy, attempt to always provide _Thread_local in <sys/reent.h>
@ 2023-09-11 8:04 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2023-09-11 8:04 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c2d2bf34e6959615a3ba0edf4153d210501ba04f
commit c2d2bf34e6959615a3ba0edf4153d210501ba04f
Author: Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
Date: Wed Aug 30 12:16:36 2023 +0300
Reentrancy, attempt to always provide _Thread_local in <sys/reent.h>
Attempt to always provide _Thread_local in <sys/reent.h> by including
<sys/cdefs.h>. The C specific keyword _Thread_local is not available
unless targetting a suitable C version.
Diff:
---
newlib/libc/include/sys/reent.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index a6c923f1c..a02e7c2bd 100644
--- a/newlib/libc/include/sys/reent.h
+++ b/newlib/libc/include/sys/reent.h
@@ -12,6 +12,7 @@ extern "C" {
#include <_ansi.h>
#include <stddef.h>
+#include <sys/cdefs.h>
#include <sys/_types.h>
#define _NULL 0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-11 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11 8:04 [newlib-cygwin] Reentrancy, attempt to always provide _Thread_local in <sys/reent.h> Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).