aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 11:08:58 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 11:08:58 +0000
commit36281f41ce7b9fb3f4459629070566a1729b19c3 (patch)
treebfb27be6a480732a158c1a1b945015b05d997517
parent163cc146a71beb14c24a62e171978118d3a7023c (diff)
another cygwin compatibility fix.
This one must be handled in a better way in configure, also for other architectures git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89374 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_sms.c2
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;