2004-02-03 Joel Sherrill <joel@OARcorp.com>

* include/buffer_test_io.h: Do not use iprintf() if in ANSI compiler
	mode.
This commit is contained in:
Joel Sherrill
2004-02-04 00:39:47 +00:00
parent f347da9764
commit 6ffa9a57b7
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2004-02-03 Joel Sherrill <joel@OARcorp.com>
* include/buffer_test_io.h: Do not use iprintf() if in ANSI compiler
mode.
2003-12-16 Joel Sherrill <joel@OARcorp.com>
PR 544/tests

View File

@@ -22,11 +22,14 @@ extern "C" {
#if !defined(TESTS_BUFFER_OUTPUT)
/* do not use iprintf if strict ansi mode */
#ifndef __STRICT_ANSI__
#undef printf
#define printf(...) \
do { \
iprintf( __VA_ARGS__); \
} while (0)
#endif
#define rtems_test_exit(_s) \
do { \