X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fformatwr.h;h=82718f171c1629a3be578fcb8245468d636e9313;hb=0192ed944b4b499fc9d003da4281e1d43d6f0c40;hp=6e8ed15cadaf4c692fbbc91834cf40fa17965d01;hpb=277b540c0764dd376dcf583acdc97a2b2fd3d8e6;p=bertos.git 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 */