[xiph-commits] r12683 - trunk/ezstream/src
moritz at svn.xiph.org
moritz at svn.xiph.org
Thu Mar 8 11:46:25 PST 2007
Author: moritz
Date: 2007-03-08 11:46:23 -0800 (Thu, 08 Mar 2007)
New Revision: 12683
Modified:
trunk/ezstream/src/compat.h
Log:
Define SIZE_T_MAX to the real maximum of size_t.
Modified: trunk/ezstream/src/compat.h
===================================================================
--- trunk/ezstream/src/compat.h 2007-03-08 19:45:14 UTC (rev 12682)
+++ trunk/ezstream/src/compat.h 2007-03-08 19:46:23 UTC (rev 12683)
@@ -35,7 +35,7 @@
/* Sometimes defined through <limits.h>. */
#ifndef SIZE_T_MAX
-# define SIZE_T_MAX UINT_MAX
+# define SIZE_T_MAX ((size_t)-1)
#endif /* !SIZE_T_MAX */
#ifdef WIN32
More information about the commits
mailing list