diff options
author | Jarryd Beck <jarro.2783@gmail.com> | 2021-06-01 10:20:05 +0300 |
---|---|---|
committer | Jarryd Beck <jarro.2783@gmail.com> | 2021-06-01 10:20:05 +0300 |
commit | f2749fc7451108ffe7a36aa7a6bd73b90f7e2b35 (patch) | |
tree | e281b064e317d1d920b8c334c8fe9ae2655cf283 | |
parent | cfca9e78ec6ba650c0ab36ea35f559690df8387c (diff) |
greater than 6fix-version-check
-rw-r--r-- | include/cxxopts.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |