From 0456f8595bd821dd49c94ebabfb06f001c343310 Mon Sep 17 00:00:00 2001 From: anon Date: Sat, 9 Sep 2023 18:15:14 +0200 Subject: [PATCH] conditional silence error --- source/jeger.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/jeger.c b/source/jeger.c index 117b65d..3b56c04 100644 --- a/source/jeger.c +++ b/source/jeger.c @@ -1,4 +1,6 @@ -#pragma GCC diagnostic ignored "-Wc++20-extensions" +#if __cplusplus +# pragma GCC diagnostic ignored "-Wc++20-extensions" +#endif #include "jeger.h"