Patch 8.1.1633

11 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 4, 2019, 3:26:32 PM7/4/19
to vim...@googlegroups.com

Patch 8.1.1633
Problem: Cannot generate prototypes with X11 but without GUI.
Solution: Include X11/Intrinsic.h.
Files: src/gui.h


*** ../vim-8.1.1632/src/gui.h 2019-04-28 19:46:17.026060122 +0200
--- src/gui.h 2019-07-04 21:21:16.740151567 +0200
***************
*** 29,34 ****
--- 29,40 ----
# include <gtk/gtk.h>
#endif

+ // Needed when generating prototypes, since FEAT_GUI is always defined then.
+ #if defined(FEAT_XCLIPBOARD) && !defined(FEAT_GUI_MOTIF) \
+ && !defined(FEAT_GUI_ATHENA) && !defined(FEAT_GUI_GTK)
+ # include <X11/Intrinsic.h>
+ #endif
+
#ifdef FEAT_GUI_MAC
# include <Types.h>
/*# include <Memory.h>*/
*** ../vim-8.1.1632/src/version.c 2019-07-04 20:26:17.798397726 +0200
--- src/version.c 2019-07-04 21:22:27.307676117 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1633,
/**/

--
PRINCE: He's come to rescue me, father.
LAUNCELOT: (embarrassed) Well, let's not jump to conclusions ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages