From f2749fc7451108ffe7a36aa7a6bd73b90f7e2b35 Mon Sep 17 00:00:00 2001 From: Jarryd Beck Date: Tue, 1 Jun 2021 17:20:05 +1000 Subject: greater than 6 --- include/cxxopts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 850fc45..757742a 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -70,7 +70,7 @@ THE SOFTWARE. #define CXXOPTS__VERSION_MINOR 0 #define CXXOPTS__VERSION_PATCH 0 -#if __GNUC__ < 10 || (__GNUC__ == 10 && __GNUC_MINOR__ < 1) +#if (__GNUC__ < 10 || (__GNUC__ == 10 && __GNUC_MINOR__ < 1)) && __GNUC__ >= 6 #define CXXOPTS_NULL_DEREF_IGNORE #endif -- cgit v1.2.3