X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gl%2Fxmalloc.c;h=585fb4b1e860c27f5140d60c9847a0f8e8beab53;hb=b8a64210bd44d792de6defcdddec65231c1ac65b;hp=3a1234574316802700f5e4bec2319200c931fde3;hpb=bd7029a99b0c2974265c6665638ef14a052f42ab;p=nagiosplug.git diff --git a/gl/xmalloc.c b/gl/xmalloc.c index 3a12345..585fb4b 100644 --- a/gl/xmalloc.c +++ b/gl/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 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. */