From e56f4194a64ca9455b3a94ce0cab19334f99f302 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Tue, 26 Feb 2013 16:00:04 -0800 Subject: COMMON: Fix a tiny macro typo! --- include/libopencm3/cm3/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libopencm3/cm3/common.h b/include/libopencm3/cm3/common.h index 9d93d5f..20a5dde 100644 --- a/include/libopencm3/cm3/common.h +++ b/include/libopencm3/cm3/common.h @@ -45,7 +45,7 @@ typedef uint64_t u64; /* Full-featured deprecation attribute with fallback for older compilers. */ #ifdef __GNUC__ -# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR_ > 4) +# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4) # define LIBOPENCM3_DEPRECATED(x) __attribute__ ((deprecated (x))) # else # define LIBOPENCM3_DEPRECATED(x) __attribute__ ((deprecated)) -- cgit v1.2.3