diff options
author | Dan Winship <danw@src.gnome.org> | 2000-12-13 06:54:41 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-12-13 06:54:41 +0800 |
commit | 9195d5465ee135ac9451f836d1075bdcd7cac8c2 (patch) | |
tree | 70feb020f5f23f9c6d8e10195625de34b51f8f59 /libical/acconfig.h | |
parent | b03dcd755230c2b6cb896963977f2537ed50b2a4 (diff) | |
download | gsoc2013-evolution-9195d5465ee135ac9451f836d1075bdcd7cac8c2.tar.gz gsoc2013-evolution-9195d5465ee135ac9451f836d1075bdcd7cac8c2.tar.zst gsoc2013-evolution-9195d5465ee135ac9451f836d1075bdcd7cac8c2.zip |
Add a check for "extern int timezone;" vs struct tm tm_gmtoff, stolen from
* configure.in: Add a check for "extern int timezone;" vs struct
tm tm_gmtoff, stolen from Evolution's configure.in.
* src/libical/icaltime.c (icaltime_utc_offset,
icaltime_local_utc_offset): Use HAVE_TIMEZONE, add tm_gmtoff
support.
* src/libical/icallexer.l: Remove ical_yy_scan_buffer, ..._string,
and ..._bytes prototypes, since it compiles fine without them on
Linux, and bombs out due to prototype mismatch on my NetBSD box.
svn path=/trunk/; revision=6945
Diffstat (limited to 'libical/acconfig.h')
-rw-r--r-- | libical/acconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libical/acconfig.h b/libical/acconfig.h index ede59fd497..96f0975b26 100644 --- a/libical/acconfig.h +++ b/libical/acconfig.h @@ -8,3 +8,9 @@ /* Define to terminate lines with "\n" instead of "\r\n" */ #undef ICAL_UNIX_NEWLINE + +/* Define if your libc defines a "timezone" variable +#undef HAVE_TIMEZONE + +/* Define if your libc defines a struct tm containing a "tm_gmtoff" member */ +#undef HAVE_TM_GMTOFF |