* src/wget.h: #undef _Noreturn when building with C++

This commit is contained in:
Tim Rühsen 2018-12-27 20:47:58 +01:00
parent 5811c2222b
commit 6ba1cb587c

View File

@ -209,6 +209,9 @@ typedef double SUM_SIZE_INT;
/* Everything uses this, so include them here directly. */
#include <alloca.h>
#ifdef __cplusplus
# undef _Noreturn
#endif
#include "xalloc.h"
/* Likewise for logging functions. */