mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
another cygwin compatibility fix.
This one must be handled in a better way in configure, also for other architectures git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -512,7 +512,7 @@ static void packdate(unsigned char *o, time_t w)
|
|||||||
int z;
|
int z;
|
||||||
|
|
||||||
ast_localtime(&tv, &t, NULL);
|
ast_localtime(&tv, &t, NULL);
|
||||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__)
|
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
|
||||||
z = -t.tm_gmtoff / 60 / 15;
|
z = -t.tm_gmtoff / 60 / 15;
|
||||||
#else
|
#else
|
||||||
z = timezone / 60 / 15;
|
z = timezone / 60 / 15;
|
||||||
|
Reference in New Issue
Block a user