From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 4AC84385770A; Mon, 11 Sep 2023 08:04:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AC84385770A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694419471; bh=NWcHs+cCEJMT94NcPEx9afJ9x+acT2sv04IoQ3GUkLs=; h=From:To:Subject:Date:From; b=uA+yCjZomB1dLmrjlMXEkXMQcB+G7e1dwb2aVTt3SJKXhGIA0ySIJhkMFkXJuAJSd uhOeUL6hPsUlW6rmjA1djAguaMJKt25cBwzewkoknwya2u7aIZmi2RhZz7qR2GCCpF JMrAhU1LQLLRaq6cOJLqDIw3HBXP0aSMjoMs4coE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Reentrancy, attempt to always provide _Thread_local in X-Act-Checkin: newlib-cygwin X-Git-Author: =?utf-8?q?Pekka_Sepp=C3=A4nen?= X-Git-Refname: refs/heads/master X-Git-Oldrev: 7a1c717c8bba1d046c37c75c3d8c110aeba3cc09 X-Git-Newrev: c2d2bf34e6959615a3ba0edf4153d210501ba04f Message-Id: <20230911080431.4AC84385770A@sourceware.org> Date: Mon, 11 Sep 2023 08:04:31 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dc2d2bf34e69= 59615a3ba0edf4153d210501ba04f commit c2d2bf34e6959615a3ba0edf4153d210501ba04f Author: Pekka Sepp=C3=A4nen Date: Wed Aug 30 12:16:36 2023 +0300 Reentrancy, attempt to always provide _Thread_local in =20 Attempt to always provide _Thread_local in by including . 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/reen= t.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" { =20 #include <_ansi.h> #include +#include #include =20 #define _NULL 0