view src/flac-1-win32.patch @ 3407:5549bd97b60f

of-image: update to 2.2.0 * build_packages.m: update image to 2.2.0. * index.html: update of-image-version to 2.2.0. * src/of-image.mk: update checksum.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 09 Jan 2014 19:32:35 -0500
parents 99516e73b368
children
line wrap: on
line source

This file is part of MXE.
See index.html for further information.

diff -ru flac-1.2.1.orig/include/share/alloc.h flac-1.2.1/include/share/alloc.h
--- flac-1.2.1.orig/include/share/alloc.h       2007-09-12 07:32:21.000000000 +0200
+++ flac-1.2.1/include/share/alloc.h    2009-10-27 19:55:58.000000000 +0100
@@ -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