Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
flac
Commits
733afdbe
Commit
733afdbe
authored
Jan 13, 2017
by
sezero
Committed by
Erik de Castro Lopo
Jan 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flac/utils.c: Workaround for DJGPP missing wcswidth()
Signed-off-by:
Erik de Castro Lopo
<
erikd@mega-nerd.com
>
parent
31b219f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/flac/utils.c
src/flac/utils.c
+2
-0
No files found.
src/flac/utils.c
View file @
733afdbe
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment