projects
/
platform
/
upstream
/
flac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable utf8 I/O stuff when compiling with MinGW.
[platform/upstream/flac.git]
/
src
/
metaflac
/
operations_shorthand_vorbiscomment.c
diff --git
a/src/metaflac/operations_shorthand_vorbiscomment.c
b/src/metaflac/operations_shorthand_vorbiscomment.c
index
61537bf
..
3d381a5
100644
(file)
--- a/
src/metaflac/operations_shorthand_vorbiscomment.c
+++ b/
src/metaflac/operations_shorthand_vorbiscomment.c
@@
-245,7
+245,7
@@
FLAC__bool set_vc_field(const char *filename, FLAC__StreamMetadata *block, const
}
else {
FLAC__bool needs_free = false;
-#ifdef
FLAC__STRINGS_IN_UTF8
/* do not convert anything or things will break */
+#ifdef
_WIN32
/* do not convert anything or things will break */
entry.entry = (FLAC__byte *)field->field;
#else
if(raw) {