[asterisk-commits] rizzo: trunk r89374 - /trunk/apps/app_sms.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 17 05:08:59 CST 2007


Author: rizzo
Date: Sat Nov 17 05:08:58 2007
New Revision: 89374

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89374
Log:
another cygwin compatibility fix.
This one must be handled in a better way in configure, also for other
architectures


Modified:
    trunk/apps/app_sms.c

Modified: trunk/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sms.c?view=diff&rev=89374&r1=89373&r2=89374
==============================================================================
--- trunk/apps/app_sms.c (original)
+++ trunk/apps/app_sms.c Sat Nov 17 05:08:58 2007
@@ -512,7 +512,7 @@
 	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;




More information about the asterisk-commits mailing list