X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxmalloca.c;h=6848a9b037e5cb9a83775af79bf2baf3d75d4c9d;hb=bfbd822767f532ab05e24bda5b67b992f3562321;hp=ad527cd1deb03e14a138c2f04f76c13b6ea3d084;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/xmalloca.c b/lib/xmalloca.c index ad527cd1d..6848a9b03 100644 --- a/lib/xmalloca.c +++ b/lib/xmalloca.c @@ -1,5 +1,5 @@ /* Safe automatic memory allocation with out of memory checking. - Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2006-2007, 2009-2010 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software: you can redistribute it and/or modify @@ -22,6 +22,8 @@ #include "xalloc.h" +#if HAVE_ALLOCA + void * xmmalloca (size_t n) { @@ -32,3 +34,5 @@ xmmalloca (size_t n) xalloc_die (); return p; } + +#endif