[Asterisk-cvs] zaptel Makefile,1.29,1.30 zaptel.c,1.51,1.52
markster at lists.digium.com
markster at lists.digium.com
Wed Dec 10 19:39:11 CST 2003
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv22535
Modified Files:
Makefile zaptel.c
Log Message:
Just make old vs. new compile time option
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- Makefile 21 Nov 2003 09:33:22 -0000 1.29
+++ Makefile 11 Dec 2003 01:30:42 -0000 1.30
@@ -58,6 +58,12 @@
#
#KFLAGS+=-DCONFIG_ZAPATA_NET
#
+# Uncomment -DCONFIG_OLD_HDLC_API if your are compiling with ZAPATA_NET
+# defined and you are using the old kernel HDLC interface (or if you get
+# an error about ETH_P_HDLC while compiling).
+#
+#KFLAGS+=-DCONFIG_OLD_HDLC_API
+#
# Uncomment for Generic PPP support (i.e. ZapRAS)
#
#KFLAGS+=-DCONFIG_ZAPATA_PPP
Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- zaptel.c 9 Dec 2003 20:36:13 -0000 1.51
+++ zaptel.c 11 Dec 2003 01:30:42 -0000 1.52
@@ -57,7 +57,7 @@
#include <linux/if_ppp.h>
#endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,20)
+#ifndef CONFIG_OLD_HDLC_API
#define NEW_HDLC_INTERFACE
#endif
More information about the svn-commits
mailing list