As was written earlier -- <http://lists.xiph.org/pipermail/flac-dev/2016-January/005762.html>
share/compat.h indirectly includes windows.h (and other files because of it). It is necessary for declaration of CreateFile_utf8(), but only two files need it: src/flac/decode.c and src/share/grabbag/file.c In <http://lists.xiph.org/pipermail/flac-dev/2016-January/005764.html> was proposed to add a preprocessor macro to solve the issue. The patch is attached.
use_winapi_macro.patch
Description: Binary data
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev