]> granicus.if.org Git - vim/commitdiff
patch 8.0.1310: cproto generates errors because of missing type v8.0.1310
authorBram Moolenaar <Bram@vim.org>
Sat, 18 Nov 2017 19:22:24 +0000 (20:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 18 Nov 2017 19:22:24 +0000 (20:22 +0100)
Problem:    Cproto generates errors because of missing type.
Solution:   Define _Float128 when generating prototypes.

src/version.c
src/vim.h

index 3d0b5cd54b782b49bc3b9cd75d7004afb820313a..331edb5c3e5377301569b5239d90fa52dd438741 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1310,
 /**/
     1309,
 /**/
index d12c46cd88159119f564cb07501450153ea4a8b2..c5e57512c589a73dfa396a8c7711e2161acec077 100644 (file)
--- a/src/vim.h
+++ b/src/vim.h
@@ -9,6 +9,11 @@
 #ifndef VIM__H
 # define VIM__H
 
+#ifdef PROTO
+/* cproto runs into trouble when this type is missing */
+typedef double _Float128;
+#endif
+
 /* use fastcall for Borland, when compiling for Win32 */
 #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG)
 #if defined(FEAT_PERL) || \