Skip to content

Commit b0e4621

Browse files
committed
test: Handle legacy stdio without long-long in printf_scanf
Need to check to see if the underlying legacy printf implementation supports long long. Signed-off-by: Keith Packard <[email protected]>
1 parent 7a2402c commit b0e4621

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/printf_scanf.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@
9898
# define NO_C99_FORMATS
9999
#endif
100100

101+
#ifndef _WANT_IO_LONG_LONG
102+
#define NO_LONG_LONG
103+
#endif
104+
101105
#ifdef _NANO_FORMATTED_IO
102106

103107
#ifndef NO_FLOATING_POINT

0 commit comments

Comments
 (0)