From c5ce5ebf4dd599345c50e5c1267f0a7bbaa3050b Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 16 Mar 2022 18:35:56 -0400 Subject: Remove wcwidth port DYLD_FORCE_FLAT_NAMESPACE no longer exists in macOS 12 so this approach doesn't work anymore. Moved to and compiled into . --- port/wcwidth/wcswidth.c | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 port/wcwidth/wcswidth.c (limited to 'port/wcwidth/wcswidth.c') diff --git a/port/wcwidth/wcswidth.c b/port/wcwidth/wcswidth.c deleted file mode 100644 index 5c8a5a4d..00000000 --- a/port/wcwidth/wcswidth.c +++ /dev/null @@ -1,8 +0,0 @@ -#include - -int wcswidth(const wchar_t *wcs, size_t n) -{ - int l=0, k=0; - for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); - return (k < 0) ? k : l; -} -- cgit 1.4.1