From 6ba1cb587c84377ec99d70ed20e27cf7682ca955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Thu, 27 Dec 2018 20:47:58 +0100 Subject: [PATCH] * src/wget.h: #undef _Noreturn when building with C++ --- src/wget.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wget.h b/src/wget.h index 0210659d..35b1ef1c 100644 --- a/src/wget.h +++ b/src/wget.h @@ -209,6 +209,9 @@ typedef double SUM_SIZE_INT; /* Everything uses this, so include them here directly. */ #include +#ifdef __cplusplus +# undef _Noreturn +#endif #include "xalloc.h" /* Likewise for logging functions. */