summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-11-22 16:07:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-11-22 16:07:01 +0000
commit51dc9b5116184600d37091e0076c00a5fc316741 (patch)
treefee2db53e397c6a6b5270ebdb8a8088dbd68db37 /testsuites
parenta1ca28d98790cbdccdcf38d0950ae3746d820ec9 (diff)
downloadrtems-51dc9b5116184600d37091e0076c00a5fc316741.tar.bz2
2004-11-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* include/buffer_test_io.h: Use iprintf iff _NEWLIB_VERSION is defined.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/support/ChangeLog5
-rw-r--r--testsuites/support/include/buffer_test_io.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuites/support/ChangeLog b/testsuites/support/ChangeLog
index 328e36aa4f..bee0d58269 100644
--- a/testsuites/support/ChangeLog
+++ b/testsuites/support/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-22 Ralf Corsepius <ralf_corsepius@rtems.org>
+
+ * include/buffer_test_io.h: Use iprintf iff _NEWLIB_VERSION is
+ defined.
+
2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Require automake > 1.9.
diff --git a/testsuites/support/include/buffer_test_io.h b/testsuites/support/include/buffer_test_io.h
index 18902424f0..764170710c 100644
--- a/testsuites/support/include/buffer_test_io.h
+++ b/testsuites/support/include/buffer_test_io.h
@@ -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 { \