aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2017-12-03 18:11:00 -0800
committerPaul Eggert2017-12-03 18:18:02 -0800
commitc54718e0bb390b35d86e8cab7ae1a7d1da9c047c (patch)
tree023c4590c26a2d7df67f7de32c03d6afc7270c19 /src
parent1dcf8b5ec59ff714b02ccc7466c02a9e6132bcc9 (diff)
downloademacs-c54718e0bb390b35d86e8cab7ae1a7d1da9c047c.tar.gz
emacs-c54718e0bb390b35d86e8cab7ae1a7d1da9c047c.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/doprnt.c2
1 files changed, 1 insertions, 1 deletions
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, ...)
503 return nbytes; 503 return nbytes;
504} 504}
505 505
506#if HAVE_MODULES || (defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT) 506#if defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT
507 507
508/* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF 508/* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF
509 and updating *BUFSIZE if the buffer is too small, and otherwise 509 and updating *BUFSIZE if the buffer is too small, and otherwise