mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Add support for using utf8proc with --enable-utf8proc, useful for platforms
(like OS X) where the system implementation is crap. From Joshua Rubin.
This commit is contained in:
9
compat.h
9
compat.h
@ -279,7 +279,14 @@ int openat(int, const char *, int, ...);
|
||||
|
||||
#ifndef HAVE_REALLOCARRAY
|
||||
/* reallocarray.c */
|
||||
void *reallocarray(void *, size_t, size_t size);
|
||||
void *reallocarray(void *, size_t, size_t);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UTF8PROC
|
||||
/* utf8proc.c */
|
||||
int utf8proc_wcwidth(wchar_t);
|
||||
int utf8proc_mbtowc(wchar_t *, const char *, size_t);
|
||||
int utf8proc_wctomb(char *, wchar_t);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETOPT
|
||||
|
Reference in New Issue
Block a user