summaryrefslogtreecommitdiff
path: root/libobj
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-03-25 13:16:56 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-03-25 14:20:43 +0000
commit8f11f2bdcdc7d84b11134c9e7d15df888f2b6f3c (patch)
treec1d45114e878fd14da556847a96b9e3e7a91eca3 /libobj
parentaa40f990142eb165ee7f60f08e9616bc5bebdebe (diff)
Use AC_FUNC_ALLOC
The preferred all-inclusive method for finding alloca(). Reported-by: Richard Palo <richard@netbsd.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89762 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'libobj')
-rw-r--r--libobj/alloca.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libobj/alloca.c b/libobj/alloca.c
new file mode 100644
index 00000000..883e1e9f
--- /dev/null
+++ b/libobj/alloca.c
@@ -0,0 +1,4 @@
+void *alloca(size_t sz)
+{
+ return NULL;
+}