1.8ism ifdefed.

SVN revision: 83401
This commit is contained in:
Carsten Haitzler 2013-01-29 03:59:22 +00:00
parent 95c757c449
commit caddf1fdee
1 changed files with 4 additions and 0 deletions

View File

@ -258,7 +258,11 @@ _term_prev_get(Term *termin)
eina_list_free(flat);
return sp->term;
}
#if (EINA_VERSION_MAJOR > 1) || (EINA_VERSION_MINOR >= 8)
sp = eina_list_last_data_get(flat);
#else
sp = eina_list_data_get(eina_list_last((flat));
#endif
eina_list_free(flat);
return sp->term;
}