configure: Detect type of length parameter for gperf generated function

Since 3.1 gperf uses size_t for the length parameter instead of an
unsigned int.
This commit is contained in:
Tobias Brunner
2017-09-19 13:24:43 +02:00
parent d4593353c9
commit e0e4322973
4 changed files with 21 additions and 6 deletions
@@ -19,7 +19,7 @@
#include "proposal_keywords.h"
const proposal_token_t* proposal_get_token_static(register const char *str,
register unsigned int len);
register GPERF_LEN_TYPE len);
#endif /* PROPOSAL_KEYWORDS_STATIC_H_ */