Add NetBSD support

This commit is contained in:
Justine Tunney 2021-02-05 06:16:20 -08:00
parent 2fdc19e7a7
commit 23ae9dfceb
4020 changed files with 8955 additions and 8128 deletions

View file

@ -23,6 +23,6 @@
/**
* Returns monospace display width of UTF-16 or UCS-2 string.
*/
int strwidth16(const char16_t *s) {
return strnwidth16(s, SIZE_MAX);
int strwidth16(const char16_t *s, size_t o) {
return strnwidth16(s, SIZE_MAX, o);
}