mirror of
https://github.com/vim/vim.git
synced 2025-10-24 08:54:47 -04:00
patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
This commit is contained in:
@@ -3009,13 +3009,11 @@ vim_to_mzscheme_impl(typval_T *vim_value, int depth, Scheme_Hash_Table *visited)
|
||||
result = scheme_make_integer((long)vim_value->vval.v_number);
|
||||
MZ_GC_CHECK();
|
||||
}
|
||||
# ifdef FEAT_FLOAT
|
||||
else if (vim_value->v_type == VAR_FLOAT)
|
||||
{
|
||||
result = scheme_make_double((double)vim_value->vval.v_float);
|
||||
MZ_GC_CHECK();
|
||||
}
|
||||
# endif
|
||||
else if (vim_value->v_type == VAR_LIST)
|
||||
{
|
||||
list_T *list = vim_value->vval.v_list;
|
||||
@@ -3208,13 +3206,11 @@ mzscheme_to_vim_impl(Scheme_Object *obj, typval_T *tv, int depth,
|
||||
tv->v_type = VAR_BOOL;
|
||||
tv->vval.v_number = SCHEME_TRUEP(obj);
|
||||
}
|
||||
# ifdef FEAT_FLOAT
|
||||
else if (SCHEME_DBLP(obj))
|
||||
{
|
||||
tv->v_type = VAR_FLOAT;
|
||||
tv->vval.v_float = SCHEME_DBL_VAL(obj);
|
||||
}
|
||||
# endif
|
||||
else if (SCHEME_BYTE_STRINGP(obj))
|
||||
{
|
||||
tv->v_type = VAR_STRING;
|
||||
|
||||
Reference in New Issue
Block a user