mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 14:34:45 +08:00
2004-11-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* include/buffer_test_io.h: Use iprintf iff _NEWLIB_VERSION is defined.
This commit is contained in:
@@ -23,7 +23,7 @@ extern "C" {
|
||||
#if !defined(TESTS_BUFFER_OUTPUT)
|
||||
|
||||
/* do not use iprintf if strict ansi mode */
|
||||
#ifndef __STRICT_ANSI__
|
||||
#if defined(_NEWLIB_VERSION) && !defined(__STRICT_ANSI__)
|
||||
#undef printf
|
||||
#define printf(...) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user