clisp/clisp-2.44.1-map_variable.patch

13 lines
456 B
Diff

--- ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
+++ ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in 2003-12-10 22:04:30.000000000 -0800
@@ -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 */