From: Paul Eggert Date: Mon, 4 Dec 2017 02:11:00 +0000 (-0800) Subject: Omit exprintf if modules but no X X-Git-Tag: emacs-27.0.90~6091 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c54718e0bb390b35d86e8cab7ae1a7d1da9c047c;p=emacs.git 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. --- 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