diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 11:08:58 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 11:08:58 +0000 |
commit | 24c2e47e0dd2796a42deeeb4b907f255c4e9a124 (patch) | |
tree | bfb27be6a480732a158c1a1b945015b05d997517 /apps/app_sms.c | |
parent | 7cd78079ae59c8861c75a93712ba7651558233a8 (diff) |
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
Diffstat (limited to 'apps/app_sms.c')
-rw-r--r-- | apps/app_sms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_sms.c b/apps/app_sms.c index 12acdb747..5e9c7c00c 100644 --- a/apps/app_sms.c +++ b/apps/app_sms.c @@ -512,7 +512,7 @@ static void packdate(unsigned char *o, time_t w) int z; 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; #else z = timezone / 60 / 15; |