From: Bram Moolenaar Date: Sat, 18 Nov 2017 19:22:24 +0000 (+0100) Subject: patch 8.0.1310: cproto generates errors because of missing type X-Git-Tag: v8.0.1310 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f1e643138d47bfc94a7050c5bd25493c2153960;p=vim 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 index 3d0b5cd54..331edb5c3 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1310, /**/ 1309, /**/ diff --git a/src/vim.h b/src/vim.h index d12c46cd8..c5e57512c 100644 --- 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) || \