Update of /cvsroot/gaim/gaim/src/protocols/jabber
In directory usw-pr-cvs1:/tmp/cvs-serv7944/src/protocols/jabber
Modified Files:
jabber.c
Log Message:
Now EVERYBODY can compile! Whee!
Index: jabber.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- jabber.c 21 Apr 2002 19:05:29 -0000 1.43
+++ jabber.c 21 Apr 2002 22:08:41 -0000 1.44
@@ -738,7 +738,17 @@
{
t.tm_year -= 1900;
t.tm_mon -= 1;
- return mktime(&t) - t.tm_gmtoff;
+ return mktime(&t) +
+#ifdef HAVE_TM_GMTOFF
+ t.tm_gmtoff
+#else
+# ifdef HAVE_TIMEZONE
+ timezone
+# else
+ 0
+# endif
+#endif
+ ;
}
return 0;
}
|