only use altzone if we have it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11159 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999 - 2001 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1999 - 2002 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -348,8 +348,10 @@ strftime (char *buf, size_t maxsize, const char *format,
|
||||
#if defined(HAVE_STRUCT_TM_TM_GMTOFF)
|
||||
(long)tm->tm_gmtoff
|
||||
#elif defined(HAVE_TIMEZONE)
|
||||
#ifdef HAVE_ALTZONE
|
||||
tm->tm_isdst ?
|
||||
(long)altzone :
|
||||
#endif
|
||||
(long)timezone
|
||||
#else
|
||||
#error Where in timezone chaos are you?
|
||||
|
Reference in New Issue
Block a user