Commit fe5096c2 authored by Rafaël Carré's avatar Rafaël Carré

Fix flac building on win32

parent 4844146f
......@@ -768,6 +768,7 @@ flac-$(FLAC_VERSION).tar.gz:
flac: flac-$(FLAC_VERSION).tar.gz
$(EXTRACT_GZ)
(cd $@; patch -p 0 < ../Patches/flac-mingw32.patch)
ifdef HAVE_DARWIN_OS
(patch -p 0 < Patches/flac-mactel.patch)
endif
......
--- include/share/alloc.h.orig 2008-05-27 01:56:44.000000000 +0200
+++ include/share/alloc.h 2008-05-27 01:57:04.000000000 +0200
@@ -35,7 +35,7 @@
#ifndef SIZE_MAX
# ifndef SIZE_T_MAX
-# ifdef _MSC_VER
+# if defined _MSC_VER || defined __MINGW32__
# define SIZE_T_MAX UINT_MAX
# else
# error
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment