fix compatibility with efl 1.7

This commit is contained in:
Boris Faure 2014-08-09 11:33:22 +02:00
parent 0032520257
commit 4f3ee44e6b
1 changed files with 4 additions and 1 deletions

View File

@ -2780,7 +2780,10 @@ _translate_options(void)
Ecore_Getopt_Desc *desc = (Ecore_Getopt_Desc *) options.descs;
while ((desc->shortname != '\0') || (desc->longname)
|| (desc->action == ECORE_GETOPT_ACTION_CATEGORY))
#if (ECORE_VERSION_MAJOR > 1) || (ECORE_VERSION_MINOR >= 8)
|| (desc->action == ECORE_GETOPT_ACTION_CATEGORY)
#endif
)
{
if (desc->help)
{