1
0
forked from aniani/vim

patch 8.1.0380: "make proto" doesn't work well

Problem:    "make proto" doesn't work well.
Solution:   Define a few more types for cproto.  Update proto files.  Fix that
            workshop didn't build.
This commit is contained in:
Bram Moolenaar
2018-09-13 17:26:54 +02:00
parent 78dcd4f002
commit 32d19c1820
9 changed files with 30 additions and 14 deletions

18
src/protodef.h Normal file
View File

@@ -0,0 +1,18 @@
/* vi:set ts=8 sts=4 sw=4 noet:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
#ifdef PROTO
// cproto runs into trouble when these types are missing
typedef double _Float16;
typedef double _Float32;
typedef double _Float64;
typedef double _Float128;
typedef double _Float32x;
typedef double _Float64x;
#endif