diff --git a/test/unit_test/static/custom_rep_test_min_expl.cpp b/test/unit_test/static/custom_rep_test_min_expl.cpp index 8d305309..8529f459 100644 --- a/test/unit_test/static/custom_rep_test_min_expl.cpp +++ b/test/unit_test/static/custom_rep_test_min_expl.cpp @@ -137,11 +137,11 @@ static_assert(QuantityValue>); static_assert(!QuantityValue>); static_assert(!QuantityValue>); static_assert(!QuantityValue>); -#if COMP_GCC == 10 && COMP_GCC_MINOR > 0 +#if !defined(COMP_GCC) || COMP_GCC > 10 || COMP_GCC_MINOR > 1 static_assert(!QuantityValue>); #endif static_assert(!QuantityValue>); -#if COMP_GCC == 10 && COMP_GCC_MINOR > 0 +#if !defined(COMP_GCC) || COMP_GCC > 10 || COMP_GCC_MINOR > 1 static_assert(!QuantityValue>); #endif static_assert(!QuantityValue>);