This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: stdio vs. diag_printf
- To: Grant Edwards <grante at visi dot com>
- Subject: Re: [ECOS] stdio vs. diag_printf
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Mon, 10 Jul 2000 16:18:25 -0600 (MDT)
- Cc: ecos-discuss at sourceware dot cygnus dot com
On 11-Jul-2000 Grant Edwards wrote:
> Unfortunately, lack of printf() breaks a some tests and some
> networking stuff, but that's easy enough to fix. I'll have to
> look up the gnu cpp extensions to see if there's a way to do
>
>#define define printf(vararg_list) daig_printf(vararg_list)
>
You chould be able to get away with:
#include <cyg/infra/diag.h>
#define printf diag_printf