aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-27 05:38:00 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-27 05:38:00 +0000
commitd3944c0dc85687057088d9a0e328bf1dd337da2b (patch)
treeeb45580a310c51b641b8fadc678caa0eb7ccaf90
parent3d30dff257b8afd9dcaea93e74fde80a52179e82 (diff)
downloadenlightenment-d3944c0dc85687057088d9a0e328bf1dd337da2b.tar.gz
enlightenment-d3944c0dc85687057088d9a0e328bf1dd337da2b.tar.xz
enlightenment-d3944c0dc85687057088d9a0e328bf1dd337da2b.zip
if not ecore 1.8, don't compile anything for access module
SVN revision: 81728
-rw-r--r--src/modules/access/e_mod_config.c4
-rw-r--r--src/modules/access/e_mod_main.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/access/e_mod_config.c b/src/modules/access/e_mod_config.c
index 30976196c..ffea2e56d 100644
--- a/src/modules/access/e_mod_config.c
+++ b/src/modules/access/e_mod_config.c
@@ -1,3 +1,5 @@
+#if (ECORE_VERSION_MAJOR > 1) || (ECORE_VERSION_MINOR >= 8)
+
#include "e.h"
#include "e_mod_main.h"
@@ -77,3 +79,5 @@ _basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata __UNU
e_config_save_queue();
return 1;
}
+
+#endif
diff --git a/src/modules/access/e_mod_main.c b/src/modules/access/e_mod_main.c
index 5eb33eeb4..711f86675 100644
--- a/src/modules/access/e_mod_main.c
+++ b/src/modules/access/e_mod_main.c
@@ -1,3 +1,5 @@
+#if (ECORE_VERSION_MAJOR > 1) || (ECORE_VERSION_MINOR >= 8)
+
#include "e.h"
#include "e_mod_main.h"
#define HISTORY_MAX 8
@@ -797,3 +799,5 @@ e_modapi_save(E_Module *m __UNUSED__)
e_config_domain_save("module.access", conf_edd, access_config);
return 1;
}
+
+#endif