From c54718e0bb390b35d86e8cab7ae1a7d1da9c047c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 3 Dec 2017 18:11:00 -0800 Subject: [PATCH] Omit exprintf if modules but no X * src/doprnt.c (exprintf): Do not define if HAVE_MODULES && !(have_X_WINDOWS || USE_X_TOOLKIT), as the modules code no longer uses exprintf. --- src/doprnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doprnt.c b/src/doprnt.c index 89d7e99deb4..d33c95f517b 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -503,7 +503,7 @@ esprintf (char *buf, char const *format, ...) return nbytes; } -#if HAVE_MODULES || (defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT) +#if defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT /* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF and updating *BUFSIZE if the buffer is too small, and otherwise -- 2.39.5