https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9e64546492a87b6ce79b402cca2c13f56a016c82

commit 9e64546492a87b6ce79b402cca2c13f56a016c82
Author:     Corinna Vinschen <[email protected]>
AuthorDate: Tue Jan 27 21:02:07 2026 +0100
Commit:     Corinna Vinschen <[email protected]>
CommitDate: Tue Feb 3 00:17:14 2026 +0100

    Cygwin: gencat: define __dead
    
    NetBSD defines __dead as __attribute__((__noreturn__)).  Add a matching
    macro expression.
    
    Signed-off-by: Corinna Vinschen <[email protected]>
    (cherry picked from commit ede7cbc9946b23da883b98d5d757ab00f135151b)

Diff:
---
 winsup/utils/gencat.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/winsup/utils/gencat.c b/winsup/utils/gencat.c
index b009b77c09b6..430d097cb341 100644
--- a/winsup/utils/gencat.c
+++ b/winsup/utils/gencat.c
@@ -96,6 +96,10 @@ up-to-date.  Many thanks.
 #define NL_MSGMAX 2048
 #endif
 
+#ifndef __dead
+#define __dead __attribute__((__noreturn__))
+#endif
+
 struct _msgT {
        long    msgId;
        char   *str;

Reply via email to