From be3293bd42688b1fede64b36c2d40920cc1954a4 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 18 Mar 2013 00:25:45 +0100 Subject: digital/avr/common: do not depend on __GNUC_PREREQ --- digital/avr/common/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'digital/avr') diff --git a/digital/avr/common/common.h b/digital/avr/common/common.h index 1097942b..ac4c6dd0 100644 --- a/digital/avr/common/common.h +++ b/digital/avr/common/common.h @@ -50,7 +50,7 @@ typedef int32_t i32; /* Should use __assert instead of __assert_fail if not using GCC. This is * left as an exercise to the reader :). */ -# if __GNUC_PREREQ (3, 0) +# if __GNUC__ >= 3 # define assert_print(expr, msg) \ (__ASSERT_VOID_CAST (__builtin_expect (!!(expr), 1) ? 0 : \ (__assert_fail (msg, __FILE__, __LINE__, \ -- cgit v1.2.3