From f490ee060442542df0d4abc082bdec6f295dbc38 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 5 May 2011 22:57:48 +0200 Subject: digital/avr: protect HOST which is defined for some AVR --- digital/avr/common/io.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'digital/avr/common/io.h') diff --git a/digital/avr/common/io.h b/digital/avr/common/io.h index 7f94f4e6..cf706e9c 100644 --- a/digital/avr/common/io.h +++ b/digital/avr/common/io.h @@ -36,6 +36,10 @@ /* SIGNAL is now ISR. */ # define ISR SIGNAL #endif +/* Some AVR includes define HOST! */ +#ifdef HOST +# undef HOST +#endif /** Saved interrupts state. */ typedef uint8_t intr_flags_t; -- cgit v1.2.3