diff --git a/src/system.h b/src/system.h index 6073048f..606d3c46 100644 --- a/src/system.h +++ b/src/system.h @@ -74,13 +74,13 @@ typedef size_t uintptr_t; # include // Clang and ICC like to pretend they are GCC. -#if defined __GNUC__ && !defined __clang__ && !defined __ICC -# define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) -#endif +# if defined __GNUC__ && !defined __clang__ && !defined __ICC +# define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) +# endif // See https://lists.gnu.org/archive/html/bug-bison/2019-10/msg00061.html // and https://trac.macports.org/ticket/59927. -#if defined GCC_VERSION && 405 <= GCC_VERSION +# if defined GCC_VERSION && 405 <= GCC_VERSION # define IGNORE_TYPE_LIMITS_BEGIN \ _Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic ignored \"-Wtype-limits\"") diff --git a/tests/local.mk b/tests/local.mk index b7e7cc59..fac8426f 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -99,7 +99,7 @@ recheck: $(RUN_TESTSUITE_deps) $(RUN_TESTSUITE) \ $$(perl -n \ -e 'eof && /^(\d+).*: FAILED/ && print "$$1 "' \ - %D%/testsuite.dir/*/testsuite.log) + %D%/testsuite.dir/*/testsuite.log) check-local: $(RUN_TESTSUITE_deps) $(RUN_TESTSUITE)