* 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
17 lines
542 B
C
17 lines
542 B
C
/* Define to make icalerror_* calls abort instead of internally
|
|
signalling an error */
|
|
#undef ICAL_ERRORS_ARE_FATAL
|
|
|
|
/* Define to make icalcluster_commit() save to a temp file and mv to
|
|
the original file instead of writing to the orig file directly */
|
|
#undef ICAL_SAFESAVES
|
|
|
|
/* 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
|