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:40:24 +00:00
parent 39075eb2e1
commit 6ccb466d61
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.
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add PREINSTALL_DIRS.

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 { \