From 32841198fc4373115f71761a05088d10f0826223 Mon Sep 17 00:00:00 2001 From: bernie Date: Sat, 8 Jan 2005 08:50:06 +0000 Subject: [PATCH] Make more portable. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@331 38d2e660-2303-0410-9eaa-f027e97ec537 --- mware/formatwr.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mware/formatwr.h b/mware/formatwr.h index 6e8ed15c..82718f17 100755 --- a/mware/formatwr.h +++ b/mware/formatwr.h @@ -12,6 +12,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/01/08 08:50:06 bernie + *#* Make more portable. + *#* *#* Revision 1.5 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -31,8 +34,9 @@ #ifndef MWARE_FORMATWR_H #define MWARE_FORMATWR_H -#include +#include /* va_list */ #include +#include /* CPU_HARVARD */ /*! * \name _formatted_write() configuration @@ -57,14 +61,13 @@ _formatted_write( void *user_data, va_list ap); -#ifdef __AVR__ - #include +#if CPU_HARVARD int _formatted_write_P( const char * PROGMEM format, void put_char_func(char c, void *user_data), void *user_data, va_list ap); -#endif /* __AVR__ */ +#endif /* CPU_HARVARD */ #endif /* MWARE_FORMATWR_H */ -- 2.25.1