[evolution/express2] add defines to ease MeeGo building
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express2] add defines to ease MeeGo building
- Date: Fri, 23 Apr 2010 09:28:28 +0000 (UTC)
commit 51f5d2876da1d8dea05ef7362110ef94d2b2d13a
Author: Michael Meeks <michael meeks novell com>
Date: Fri Apr 23 10:29:34 2010 +0100
add defines to ease MeeGo building
modules/calendar/e-cal-shell-view-private.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index 4730ca0..4d6f8e3 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -28,6 +28,16 @@
#define CHECK_NB 5
+/* be compatible with older e-d-s for MeeGo */
+#ifndef ETC_TIMEZONE
+# define ETC_TIMEZONE "/etc/timezone"
+# define ETC_TIMEZONE_MAJ "/etc/TIMEZONE"
+# define ETC_RC_CONF "/etc/rc.conf"
+# define ETC_SYSCONFIG_CLOCK "/etc/sysconfig/clock"
+# define ETC_CONF_D_CLOCK "/etc/conf.d/clock"
+# define ETC_LOCALTIME "/etc/localtime
+#endif
+
static const gchar * files_to_check [CHECK_NB] = {
ETC_TIMEZONE,
ETC_TIMEZONE_MAJ,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]