X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=lib%2Fxmalloc.c;h=585fb4b1e860c27f5140d60c9847a0f8e8beab53;hp=89ecf17ad0851dc47687ac3e323e6743a2f942b3;hb=cb555a94fa5188122569ed3803c463f27ccd0261;hpb=d5e283b1a75c5f8249300b465b4e7b55130bec49 diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 89ecf17a..585fb4b1 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -1,7 +1,7 @@ /* xmalloc.c -- malloc with out of memory checking Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008 Free Software Foundation, + 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -28,10 +28,6 @@ #include #include -#ifndef SIZE_MAX -# define SIZE_MAX ((size_t) -1) -#endif - /* 1 if calloc is known to be compatible with GNU calloc. This matters if we are not also using the calloc module, which defines HAVE_CALLOC and supports the GNU API even on non-GNU platforms. */