From: bernie Date: Mon, 20 Mar 2006 17:48:09 +0000 (+0000) Subject: Fix for avr-libc; INTERRUPT(): Remove macro. X-Git-Tag: 1.0.0~675 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=inline;h=aa6e0063c913acaab2e363da1a0fbaa1602adf42;p=bertos.git Fix for avr-libc; INTERRUPT(): Remove macro. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@566 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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