Mercurial > vim
diff src/vim.h @ 12867:6c199b02c933 v8.0.1310
patch 8.0.1310: cproto generates errors because of missing type
commit https://github.com/vim/vim/commit/0f1e643138d47bfc94a7050c5bd25493c2153960
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 18 Nov 2017 20:30:05 +0100 |
parents | 351cf7c67bbe |
children | 1a450ce6980c |
line wrap: on
line diff
--- 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) || \