From 652895d6562af8fe69530e516652fabedeebd218 Mon Sep 17 00:00:00 2001 From: odewdney Date: Sun, 4 Jan 2015 11:15:23 +0000 Subject: [PATCH] try different proproc for CI failure --- Marlin/Marlin.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Marlin/Marlin.h b/Marlin/Marlin.h index e0915ad64e..2648a78ad3 100644 --- a/Marlin/Marlin.h +++ b/Marlin/Marlin.h @@ -40,10 +40,11 @@ #ifdef __GNUC__ -#ifndef GCC_VERSION -#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) +#ifndef GCC_VERSION2 +#define GCC_VERSION2 (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) #endif -#if GCC_VERSION < 40602 // Test for GCC < 4.6.2 + +#if GCC_VERSION2 < 40602 // Test for GCC < 4.6.2 #ifdef PROGMEM #undef PROGMEM #define PROGMEM __attribute__((section(".progmem.data"))) // Workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34734#c4