From 51dc9b5116184600d37091e0076c00a5fc316741 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 22 Nov 2004 16:07:01 +0000 Subject: 2004-11-22 Ralf Corsepius * include/buffer_test_io.h: Use iprintf iff _NEWLIB_VERSION is defined. --- testsuites/support/include/buffer_test_io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/support/include/buffer_test_io.h') 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 { \ -- cgit v1.2.3