# HG changeset patch # User Christian Brabandt # Date 1511033405 -3600 # Node ID 6c199b02c933b43ec2c661ef604edbaca14a5839 # Parent 931564cdbb60a027fe9e048ca142aa0bf25fcf7e patch 8.0.1310: cproto generates errors because of missing type commit https://github.com/vim/vim/commit/0f1e643138d47bfc94a7050c5bd25493c2153960 Author: Bram Moolenaar 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. diff --git a/src/version.c b/src/version.c --- 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, diff --git a/src/vim.h b/src/vim.h --- 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) || \