mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +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>
|
2003-12-16 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
PR 544/tests
|
PR 544/tests
|
||||||
|
|||||||
@@ -22,11 +22,14 @@ extern "C" {
|
|||||||
|
|
||||||
#if !defined(TESTS_BUFFER_OUTPUT)
|
#if !defined(TESTS_BUFFER_OUTPUT)
|
||||||
|
|
||||||
|
/* do not use iprintf if strict ansi mode */
|
||||||
|
#ifndef __STRICT_ANSI__
|
||||||
#undef printf
|
#undef printf
|
||||||
#define printf(...) \
|
#define printf(...) \
|
||||||
do { \
|
do { \
|
||||||
iprintf( __VA_ARGS__); \
|
iprintf( __VA_ARGS__); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define rtems_test_exit(_s) \
|
#define rtems_test_exit(_s) \
|
||||||
do { \
|
do { \
|
||||||
|
|||||||
Reference in New Issue
Block a user