mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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 { \
|
||||
|
||||
Reference in New Issue
Block a user