mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
flac/utils.c: Workaround for DJGPP missing wcswidth()
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
committed by
Erik de Castro Lopo
parent
31b219f0bf
commit
733afdbe68
@@ -197,6 +197,8 @@ size_t strlen_console(const char *text)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return strlen_utf8(text);
|
||||
#elif defined(__DJGPP__) /* workaround for DJGPP missing wcswidth() */
|
||||
return strlen(text);
|
||||
#else
|
||||
size_t len;
|
||||
wchar_t *wtmp;
|
||||
|
||||
Reference in New Issue
Block a user