clisp/clisp-2.44.1-map_variable.patch

17 lines
529 B
Diff
Raw Normal View History

---
ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in | 5 +++++
1 file changed, 5 insertions(+)
--- a/ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
+++ b/ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
@@ -22,4 +22,9 @@ extern __TR_function trampoline_r_addres
extern void* trampoline_r_data0 (void*);
extern void* trampoline_r_data1 (void*);
+/* http://article.gmane.org/gmane.lisp.clisp.general/7485 */
+#ifndef MAP_VARIABLE
+# define MAP_VARIABLE 0
+#endif
+
#endif /* _TRAMPOLINE_R_H */