diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-01 19:57:13 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-01 19:57:13 +1100 |
commit | 2199d086921eb37d249cae0731f334556ec6209d (patch) | |
tree | 5add730a244929f20e8863a8afd6efbd9bc2acbe /include/share/compat.h | |
parent | b3c3e2ac4fcac9d9b178ad240976634d52d5eece (diff) | |
download | flac-2199d086921eb37d249cae0731f334556ec6209d.tar.gz |
Enable utf8 I/O stuff when compiling with MinGW.
Diffstat (limited to 'include/share/compat.h')
-rw-r--r-- | include/share/compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/share/compat.h b/include/share/compat.h index 214990c2..cf83bfe5 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -141,7 +141,8 @@ # endif #endif /* defined _MSC_VER */ -#ifdef FLAC__STRINGS_IN_UTF8 /* all char* strings are in UTF-8 format. Added to support Unicode files on Windows */ +#ifdef _WIN32 +/* All char* strings are in UTF-8 format. Added to support Unicode files on Windows */ #include "share/win_utf8_io.h" #define flac_printf printf_utf8 |