[Asterisk-cvs] asterisk/apps app_sms.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Sat Jun 12 09:49:54 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv11059/apps
Modified Files:
app_sms.c
Log Message:
Fix OpenBSD compile (bug #1830)
Index: app_sms.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_sms.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_sms.c 31 May 2004 17:01:32 -0000 1.3
+++ app_sms.c 12 Jun 2004 14:53:53 -0000 1.4
@@ -205,7 +205,7 @@
packdate (unsigned char *o, time_t w)
{
struct tm *t = localtime (&w);
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
int z = - t->tm_gmtoff / 3600 / 15;
#else
int z = timezone / 3600 / 15;
More information about the svn-commits
mailing list