From aa6e0063c913acaab2e363da1a0fbaa1602adf42 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 20 Mar 2006 17:48:09 +0000 Subject: [PATCH] Fix for avr-libc; INTERRUPT(): Remove macro. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@566 38d2e660-2303-0410-9eaa-f027e97ec537 --- cfg/compiler.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cfg/compiler.h b/cfg/compiler.h index 6eaf1482..7174eb1d 100755 --- a/cfg/compiler.h +++ b/cfg/compiler.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.16 2006/03/20 17:48:09 bernie + *#* Fix for avr-libc; INTERRUPT(): Remove macro. + *#* *#* Revision 1.15 2006/03/13 02:06:25 bernie *#* containerof(): New macro. *#* @@ -227,7 +230,9 @@ #include #include #include + #if !CPU_AVR #include /* for ssize_t */ + #endif #ifndef __cplusplus /* @@ -315,9 +320,6 @@ #ifndef REGISTER #define REGISTER /* nothing */ #endif -#ifndef INTERRUPT -#define INTERRUPT(x) ERROR_NOT_IMPLEMENTED -#endif #ifndef LIKELY #define LIKELY(x) x #endif -- 2.25.1