billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=4f3ee44e6bd1bf12f3277c6bd6ba27fc943f734b

commit 4f3ee44e6bd1bf12f3277c6bd6ba27fc943f734b
Author: Boris Faure <[email protected]>
Date:   Sat Aug 9 11:33:22 2014 +0200

    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 3bb8e42..50d29bf 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)
           {

-- 


Reply via email to