changeset 12867:6c199b02c933 v8.0.1310

patch 8.0.1310: cproto generates errors because of missing type commit https://github.com/vim/vim/commit/0f1e643138d47bfc94a7050c5bd25493c2153960 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 18 20:22:24 2017 +0100 patch 8.0.1310: cproto generates errors because of missing type Problem: Cproto generates errors because of missing type. Solution: Define _Float128 when generating prototypes.
author Christian Brabandt <cb@256bit.org>
date Sat, 18 Nov 2017 20:30:05 +0100
parents 931564cdbb60
children 029c42326ffb
files src/version.c src/vim.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1310,
+/**/
     1309,
 /**/
     1308,
--- 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) || \