flac/utils.c: Workaround for DJGPP missing wcswidth()

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
sezero
2017-01-13 18:20:35 +03:00
committed by Erik de Castro Lopo
parent 31b219f0bf
commit 733afdbe68

View File

@@ -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;