Ticket #54112: patch-agen5_guile-iface.h.diff

File patch-agen5_guile-iface.h.diff, 695 bytes (added by jwhowse4, 7 years ago)

patch two

  • agen5/guile-iface.h

    old new  
    99# error AutoGen does not work with this version of Guile
    1010  choke me.
    1111
    12 #elif GUILE_VERSION < 201000
     12#else
    1313# define AG_SCM_IS_PROC(_p)           scm_is_true( scm_procedure_p(_p))
    1414# define AG_SCM_LIST_P(_l)            scm_is_true( scm_list_p(_l))
    1515# define AG_SCM_PAIR_P(_p)            scm_is_true( scm_pair_p(_p))
    1616# define AG_SCM_TO_LONG(_v)           scm_to_long(_v)
    1717# define AG_SCM_TO_ULONG(_v)          ((unsigned long)scm_to_ulong(_v))
    1818
    19 #else
    20 # error unknown GUILE_VERSION
    21   choke me.
    2219#endif
    2320
    2421#endif /* MUTATING_GUILE_IFACE_H_GUARD */