summaryrefslogtreecommitdiff
path: root/include/share/compat.h
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2013-04-01 19:57:13 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-04-01 19:57:13 +1100
commit2199d086921eb37d249cae0731f334556ec6209d (patch)
tree5add730a244929f20e8863a8afd6efbd9bc2acbe /include/share/compat.h
parentb3c3e2ac4fcac9d9b178ad240976634d52d5eece (diff)
downloadflac-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.h3
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