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:
@@ -771,6 +771,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1310,
|
||||||
/**/
|
/**/
|
||||||
1309,
|
1309,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -9,6 +9,11 @@
|
|||||||
#ifndef VIM__H
|
#ifndef VIM__H
|
||||||
# define 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 */
|
/* use fastcall for Borland, when compiling for Win32 */
|
||||||
#if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG)
|
#if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG)
|
||||||
#if defined(FEAT_PERL) || \
|
#if defined(FEAT_PERL) || \
|
||||||
|
Reference in New Issue
Block a user