Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
12866:931564cdbb60 | 12867:6c199b02c933 |
---|---|
6 * Do ":help credits" in Vim to see a list of people who contributed. | 6 * Do ":help credits" in Vim to see a list of people who contributed. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef VIM__H | 9 #ifndef VIM__H |
10 # define VIM__H | 10 # define VIM__H |
11 | |
12 #ifdef PROTO | |
13 /* cproto runs into trouble when this type is missing */ | |
14 typedef double _Float128; | |
15 #endif | |
11 | 16 |
12 /* use fastcall for Borland, when compiling for Win32 */ | 17 /* use fastcall for Borland, when compiling for Win32 */ |
13 #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG) | 18 #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG) |
14 #if defined(FEAT_PERL) || \ | 19 #if defined(FEAT_PERL) || \ |
15 defined(FEAT_PYTHON) || \ | 20 defined(FEAT_PYTHON) || \ |