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 committed 2017-09-19 13:24:43 +02:00
1 parent d4593353c9
commit e0e4322973
4 files changed
+21 -6

No files matched your search

+1 -1
View File
@@ -73,6 +73,6 @@ typedef enum {
typedef struct stroke_token stroke_token_t;
extern const stroke_token_t* in_word_set(register const char *str, register unsigned int len);
extern const stroke_token_t* in_word_set(register const char *str, register GPERF_LEN_TYPE len);
#endif /* _STROKE_KEYWORDS_H_ */