aboutsummaryrefslogtreecommitdiffhomepage
path: root/date.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-19 13:19:37 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-19 13:19:37 -0700
commit747f610901f979c30dafe22f46e4f0b802c2f901 (patch)
tree618d24326de9cf566bbff575f5a4de262e558f86 /date.c
parentc2c50d50c572fcd2a015aeba87d33a8ccf5a76b8 (diff)
date.c: Add hard-coded definition of HAVE_TIMEZONE
The original code expected this to be set by running configure. We'll just manually set it here for now. This isn't as portable as if we were doing some compile-time examination of the current system, but I don't need portability now. When someone comes along that wants to port notmuch to another system, they will already have all the #ifdefs in place and will simply need to add the appropriate machinery to set the defines.
Diffstat (limited to 'date.c')
-rw-r--r--date.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/date.c b/date.c
index 514f8404..ff1e1a6a 100644
--- a/date.c
+++ b/date.c
@@ -363,6 +363,8 @@ get_tzone (date_token **token)
return -1;
}
+#define HAVE_TIMEZONE
+
static time_t
mktime_utc (struct tm *tm)
{