0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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.
This commit is contained in:
Bram Moolenaar
2017-11-18 20:22:24 +01:00
parent 51b0f3701e
commit 0f1e643138
2 changed files with 7 additions and 0 deletions

View File

@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1310,
/**/
1309,
/**/

View File

@@ -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) || \