Skip to content

Commit 14d74dd

Browse files
committed
test: Fix a couple of tests that looked for TINYSTDIO
Use __TINY_STDIO instead Signed-off-by: Keith Packard <[email protected]>
1 parent 4c56752 commit 14d74dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

newlib/libm/test/convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extern double_type doubles[];
3333
double_type *pd = doubles;
3434

3535
#ifdef __IO_FLOAT_EXACT
36-
#if !defined(TINYSTDIO) && defined(__m68k__) && !defined(__mcf_fpu__) && !defined(__HAVE_M68881__)
36+
#if !defined(__TINY_STDIO) && defined(__m68k__) && !defined(__mcf_fpu__) && !defined(__HAVE_M68881__)
3737
/* soft floats on m68k have rounding bugs for 64-bit values */
3838
#define CONVERT_BITS_DOUBLE 63
3939
#else

test/printf_scanf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ check_vsnprintf(char *str, size_t size, const char *format, ...)
189189
#endif
190190
#endif
191191

192-
#if defined(__PICOLIBC__) && !defined(TINYSTDIO)
192+
#if defined(__PICOLIBC__) && !defined(__TINY_STDIO)
193193
#define LEGACY_NEWLIB
194194
#endif
195195

0 commit comments

Comments
 (0)