Add c-compiler to version-alist

This commit is contained in:
Lassi Kortela 2019-10-14 01:31:12 +03:00
parent 65dcf2678b
commit 29fada554c
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ static value_t get_version_alist(void)
&acc, "language",
fl_cons(symbol("scheme"), fl_cons(symbol("r7rs"), FL_NIL)));
accum_name_value(&acc, "features", get_features_list());
accum_name_value(
&acc, "c-compiler",
fl_list2(string_from_cstr(SCHEME_C_COMPILER_NAME),
string_from_cstr(SCHEME_C_COMPILER_VERSION)));
}
return acc.list;
}