emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c54718e 2/3: Omit exprintf if modules but no X


From: Paul Eggert
Subject: [Emacs-diffs] master c54718e 2/3: Omit exprintf if modules but no X
Date: Sun, 3 Dec 2017 21:18:08 -0500 (EST)

branch: master
commit c54718e0bb390b35d86e8cab7ae1a7d1da9c047c
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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 89d7e99..d33c95f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]