From dde6c83cd968923a01a34e27270e9ebbe9ce53d1 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Tue, 25 Apr 2023 21:56:10 +0200 Subject: [PATCH] Misc updates to stdnoreturn.h to improve resiliency --- stdnoreturn.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdnoreturn.h b/stdnoreturn.h index 0ab1246..312fe42 100644 --- a/stdnoreturn.h +++ b/stdnoreturn.h @@ -1,6 +1,10 @@ #ifndef __FSTD_HDRS_STDNORETURN_H #define __FSTD_HDRS_STDNORETURN_H 1 +#ifndef __cplusplus + #define noreturn _Noreturn #endif + +#endif