diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-18 20:22:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-18 20:22:24 +0100 |
commit | 0f1e643138d47bfc94a7050c5bd25493c2153960 (patch) | |
tree | ec036004f18394b13c52f43a3fbc49e18c77e3a0 /src | |
parent | 51b0f3701ecb440aa72ab6017c1df6940c0e0f6f (diff) |
patch 8.0.1310: cproto generates errors because of missing typev8.0.1310
Problem: Cproto generates errors because of missing type.
Solution: Define _Float128 when generating prototypes.
Diffstat (limited to 'src')
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 3d0b5cd54b..331edb5c3e 100644 --- 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, @@ -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) || \ |