]> git.eshelyaron.com Git - emacs.git/commitdiff
Omit exprintf if modules but no X
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Dec 2017 02:11:00 +0000 (18:11 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Dec 2017 02:18:02 +0000 (18:18 -0800)
* 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

index 89d7e99deb46fee5bc64e771a078d5f389f0121a..d33c95f517bebba0be794820bfe44eea51e30a08 100644 (file)
@@ -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