fix build when arch != mipsel
[openwrt.git] / openwrt / package / libnids / patches / no_asm_for_i386.patch
1 diff -ruN libnids-1.18-orig/src/checksum.c libnids-1.18/src/checksum.c
2 --- libnids-1.18-orig/src/checksum.c 2003-09-20 22:40:44.000000000 +0200
3 +++ libnids-1.18/src/checksum.c 2005-08-09 23:55:00.000000000 +0200
4 @@ -4,7 +4,7 @@
5 #include <netinet/tcp.h>
6 #include <netinet/udp.h>
7
8 -#if ( __i386__ || __i386 )
9 +#if 0
10 // all asm procedures are copied from Linux 2.0.36 and 2.2.10 kernels
11
12 /*
This page took 0.043389 seconds and 5 git commands to generate.