changeset 10544:a3cef16bea27 v8.0.0162

patch 8.0.0162: build error on Fedora 23 commit https://github.com/vim/vim/commit/009c7b2640b6e04c101118cc7d0dc5785f9aa116 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 9 20:30:27 2017 +0100 patch 8.0.0162: build error on Fedora 23 Problem: Build error on Fedora 23 with small features and gnome2. Solution: Undefine ngettext(). (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Mon, 09 Jan 2017 20:45:04 +0100
parents aafe5fa39341
children 12ff1590e546
files src/gui_gtk.c src/gui_gtk_x11.c src/version.c
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -51,6 +51,9 @@
 # ifdef _
 #  undef _
 # endif
+# ifdef ngettext
+#  undef ngettext
+# endif
 # ifdef N_
 #  undef N_
 # endif
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -35,6 +35,9 @@
 # ifdef _
 #  undef _
 # endif
+# ifdef ngettext
+#  undef ngettext
+# endif
 # ifdef N_
 #  undef N_
 # endif
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    162,
+/**/
     161,
 /**/
     160,