autogen/autogen-5.18.6-guile-3.0.patch

21 lines
728 B
Diff
Raw Normal View History

--- autogen-5.18.16/agen5/guile-iface.h.orig 2020-11-28 10:36:31.397903848 +0000
+++ autogen-5.18.16/agen5/guile-iface.h 2020-11-28 10:36:45.329662872 +0000
@@ -9,16 +9,12 @@
# error AutoGen does not work with this version of Guile
choke me.
-#elif GUILE_VERSION < 203000
+#else
# define AG_SCM_IS_PROC(_p) scm_is_true( scm_procedure_p(_p))
# define AG_SCM_LIST_P(_l) scm_is_true( scm_list_p(_l))
# define AG_SCM_PAIR_P(_p) scm_is_true( scm_pair_p(_p))
# define AG_SCM_TO_LONG(_v) scm_to_long(_v)
# define AG_SCM_TO_ULONG(_v) ((unsigned long)scm_to_ulong(_v))
-
-#else
-# error unknown GUILE_VERSION
- choke me.
#endif
#endif /* MUTATING_GUILE_IFACE_H_GUARD */