aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2024-02-16 16:04:31 +0000
committerstephan <stephan@noemail.net>2024-02-16 16:04:31 +0000
commit816f677c1c2ec9d3331c9c329a6176bedca4178e (patch)
tree2f81d29f14b4015c98c1fca628912edb74ea6b57 /src
parent9d00aba8959abc5ea57360d43e8160fb6136c663 (diff)
downloadsqlite-816f677c1c2ec9d3331c9c329a6176bedca4178e.tar.gz
sqlite-816f677c1c2ec9d3331c9c329a6176bedca4178e.zip
Work around a __VA_ARGS__ complaint in fiddle builds.
FossilOrigin-Name: 7d750248c58ccbf87036ea7db053def1c83c7a8ed428a5c47895756302b36200
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 6bd81a047..780cdb925 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -280,9 +280,9 @@ INCLUDE ../ext/consio/console_io.c
#else
/* For Fiddle, all console handling and emit redirection is omitted. */
# define sputz(fp,z) fputs(z,fp)
-# define sputf(fp,fmt, ...) fprintf(fp,fmt,__VA_ARGS__)
+# define sputf fprintf
# define oputz(z) fputs(z,stdout)
-# define oputf(fmt, ...) printf(fmt,__VA_ARGS__)
+# define oputf printf
# define eputz(z) fputs(z,stderr)
# define eputf(fmt, ...) fprintf(stderr,fmt,__VA_ARGS__)
# define oputb(buf,na) fwrite(buf,1,na,stdout)