gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] [PATCH 2/3] Only define alloca prototype if alloca.h is not


From: Will Newton
Subject: [Gcl-devel] [PATCH 2/3] Only define alloca prototype if alloca.h is not present
Date: Mon, 16 Jun 2014 15:36:58 +0100

---
 gcl/h/protoize.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcl/h/protoize.h b/gcl/h/protoize.h
index c1dc050..d1c8ba0 100644
--- a/gcl/h/protoize.h
+++ b/gcl/h/protoize.h
@@ -1434,7 +1434,9 @@ void init_shared_memory(void);
 
 void * object_to_pointer(object);
 
+#ifndef HAVE_ALLOCA_H
 void * alloca(size_t);
+#endif
 
 object make_dcomplex(dcomplex);
 
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]