[PD-cvs] SF.net SVN: pure-data: [9502] sources/flac/include/share/alloc.h

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Fri Feb 22 19:01:18 CET 2008


Revision: 9502
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9502&view=rev
Author:   eighthave
Date:     2008-02-22 10:01:17 -0800 (Fri, 22 Feb 2008)

Log Message:
-----------
mingw is missing SIZE_T_MAX from its limits.h, so I am removing the test for MSVC so that SIZE_T_MAX will be defined for MinGW in this header file.  This is needed to build flac-1.2.1

Modified Paths:
--------------
    sources/flac/include/share/alloc.h

Modified: sources/flac/include/share/alloc.h
===================================================================
--- sources/flac/include/share/alloc.h	2008-02-22 17:52:14 UTC (rev 9501)
+++ sources/flac/include/share/alloc.h	2008-02-22 18:01:17 UTC (rev 9502)
@@ -35,11 +35,7 @@
 
 #ifndef SIZE_MAX
 # ifndef SIZE_T_MAX
-#  ifdef _MSC_VER
 #   define SIZE_T_MAX UINT_MAX
-#  else
-#   error
-#  endif
 # endif
 # define SIZE_MAX SIZE_T_MAX
 #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list