shithub: opusfile

Download patch

ref: b89a1798abc6a8c0d8a0ba5047bf577cc622d82e
parent: 28347e249511cca8718261c13dc7cdb7954a828e
author: Ralph Giles <giles@mozilla.com>
date: Tue Aug 6 12:13:04 EDT 2013

Add win32utf8 code to the unix makefile for mingw builds.

--- a/unix/Makefile
+++ b/unix/Makefile
@@ -89,6 +89,11 @@
 
 SEEKING_EXAMPLE_CSOURCES = seeking_example.c
 
+ifneq ($(findstring mingw,${CC}),)
+OPUSFILE_EXAMPLE_CSOURCES += win32utf8.c
+SEEKING_EXAMPLE_CSOURCES += win32utf8.c
+endif
+
 FOO_CSOURCES = tests/foo.c
 
 # Create object file list.