Merge pull request #51 from 4321ba/master

fix compilation with mingw
master
Dimitri Diakopoulos 5 years ago committed by GitHub
commit 59a51e440c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@ function(_disable_warning flag)
endfunction() endfunction()
function(_set_compile_options proj) function(_set_compile_options proj)
if (WIN32) if(MSVC)
target_compile_options(${proj} PRIVATE /arch:AVX /Zi ) target_compile_options(${proj} PRIVATE /arch:AVX /Zi )
endif() endif()
endfunction() endfunction()

@ -79,7 +79,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "FLAC/all.h" #include "FLAC/all.h"
#if defined(_MSC_VER) #if defined(_WIN32) || defined(_WIN64)
#include "FLAC/src/win_utf8_io.c" #include "FLAC/src/win_utf8_io.c"
#endif #endif

Loading…
Cancel
Save