From 46cdb29f1614a467c2a685b844a7ae8c4872f1fd Mon Sep 17 00:00:00 2001 From: moritz Date: Thu, 8 Mar 2007 19:46:23 +0000 Subject: [PATCH] Define SIZE_T_MAX to the real maximum of size_t. git-svn-id: https://svn.xiph.org/trunk/ezstream@12683 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat.h b/src/compat.h index 5ae1d67..ade4d70 100644 --- a/src/compat.h +++ b/src/compat.h @@ -35,7 +35,7 @@ /* Sometimes defined through . */ #ifndef SIZE_T_MAX -# define SIZE_T_MAX UINT_MAX +# define SIZE_T_MAX ((size_t)-1) #endif /* !SIZE_T_MAX */ #ifdef WIN32