summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2014-06-06 11:55:41 +0200
committerGuillaume Friloux <guillaume.friloux@gmail.com>2014-06-06 11:55:41 +0200
commit41796e595fdc493f807fbb5815765a3a7e16bd23 (patch)
tree3b88c8b705553dffcccd9ce421b17f0bab749828
parent479f820a0a50b06d7753e0efda1551ffca96d29b (diff)
FreeBSD exposes alloca, no need to redefine it.
-rw-r--r--src/lib/esql_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/esql_private.h b/src/lib/esql_private.h
index 742ce19..5a7a4cf 100644
--- a/src/lib/esql_private.h
+++ b/src/lib/esql_private.h
@@ -29,7 +29,7 @@
29 29
30#ifdef HAVE_ALLOCA_H 30#ifdef HAVE_ALLOCA_H
31#include <alloca.h> 31#include <alloca.h>
32#elif defined __GNUC__ 32#elif defined __GNUC__ && !__FreeBSD__
33#define alloca __builtin_alloca 33#define alloca __builtin_alloca
34#elif defined _AIX 34#elif defined _AIX
35#define alloca __alloca 35#define alloca __alloca