aboutsummaryrefslogtreecommitdiffstats
path: root/openwrt/package/libnids/patches/no_asm_for_i386.patch
blob: ff6fde7b12e74a5b321b3a1a5e2f35718e3a6bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruN libnids-1.18-orig/src/checksum.c libnids-1.18/src/checksum.c
--- libnids-1.18-orig/src/checksum.c	2003-09-20 22:40:44.000000000 +0200
+++ libnids-1.18/src/checksum.c	2005-08-09 23:55:00.000000000 +0200
@@ -4,7 +4,7 @@
 #include <netinet/tcp.h>
 #include <netinet/udp.h>
 
-#if ( __i386__ || __i386 )
+#if 0
 // all asm procedures are copied from Linux 2.0.36 and 2.2.10 kernels
 
 /*