diff options
author | Bruno Haible <bruno@clisp.org> | 2007-12-31 11:55:46 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-12-31 11:55:46 +0100 |
commit | f4637bbf9a6a5f1d3c5390fdab23882c25dfe464 (patch) | |
tree | b1494f519c07eff070becba18cade85c94fc419d /lib/xmalloca.c | |
parent | a464478ce70f993f9618ba446eaf68e11e13edee (diff) | |
download | gnulib-f4637bbf9a6a5f1d3c5390fdab23882c25dfe464.tar.gz |
Don't define xmmalloca if not needed.
Diffstat (limited to 'lib/xmalloca.c')
-rw-r--r-- | lib/xmalloca.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xmalloca.c b/lib/xmalloca.c index ad527cd1de..d7cc346d16 100644 --- a/lib/xmalloca.c +++ b/lib/xmalloca.c @@ -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 |