Fix for avr-libc; INTERRUPT(): Remove macro.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Mar 2006 17:48:09 +0000 (17:48 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Mar 2006 17:48:09 +0000 (17:48 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@566 38d2e660-2303-0410-9eaa-f027e97ec537

cfg/compiler.h

index 6eaf1482385ee71cf0c11ea78b470ffa246b6328..7174eb1d5706d511cc4e8b87fe9df236f8eac133 100755 (executable)
@@ -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.
  *#*
        #include <stddef.h>
        #include <stdint.h>
        #include <stdbool.h>
+       #if !CPU_AVR
        #include <sys/types.h> /* for ssize_t */
+       #endif
 
        #ifndef __cplusplus
                /*
 #ifndef REGISTER
 #define REGISTER               /* nothing */
 #endif
-#ifndef INTERRUPT
-#define INTERRUPT(x)           ERROR_NOT_IMPLEMENTED
-#endif
 #ifndef LIKELY
 #define LIKELY(x)              x
 #endif