Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv8605

Modified Files:
        ztdummy.c 
Log Message:
enable USE_RTC by default for 2.6.13+ kernels, since they have a configure-time 
selectable HZ setting that does _not_ default to 1000Hz


Index: ztdummy.c
===================================================================
RCS file: /usr/cvsroot/zaptel/ztdummy.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- ztdummy.c   25 May 2005 19:14:54 -0000      1.11
+++ ztdummy.c   11 Jul 2005 12:44:28 -0000      1.12
@@ -45,10 +45,14 @@
  * the #define USE_RTC should be commented out.
  */
 #if defined(__i386__)
+#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)
+#define USE_RTC
+#else
 #if 0
 #define USE_RTC
 #endif
 #endif
+#endif
 
 #include <linux/kernel.h>
 #include <linux/errno.h>

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to