From: bernie Date: Sun, 27 Nov 2005 23:31:48 +0000 (+0000) Subject: Support avr-libc 1.4. X-Git-Tag: 1.0.0~785 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9481a995a29f4da2a91bcaac4a8406cd235a85e5;p=bertos.git Support avr-libc 1.4. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@456 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/drv/ser_avr.c b/drv/ser_avr.c index e31a77dc..90d81fc4 100755 --- a/drv/ser_avr.c +++ b/drv/ser_avr.c @@ -38,6 +38,9 @@ /*#* *#* $Log$ + *#* Revision 1.29 2005/11/27 23:31:48 bernie + *#* Support avr-libc 1.4. + *#* *#* Revision 1.28 2005/11/04 16:20:02 bernie *#* Fix reference to README.devlib in header. *#* @@ -120,15 +123,19 @@ #include "ser.h" #include "ser_p.h" -#include #include "hw.h" /* Required for bus macros overrides */ +#include #include #include #include -#include #include +#if defined(__AVR_LIBC_VERSION__) && (__AVR_LIBC_VERSION__ >= 10400UL) + #include +#else + #include +#endif #if !CONFIG_SER_HWHANDSHAKE