From 4f3ee44e6bd1bf12f3277c6bd6ba27fc943f734b Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 9 Aug 2014 11:33:22 +0200 Subject: [PATCH] fix compatibility with efl 1.7 --- src/bin/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/main.c b/src/bin/main.c index 3bb8e42d..50d29bff 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -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) {