valgrind/valgrind-3.6.1-kernel3.patch
2011-08-19 17:24:56 +00:00

16 lines
517 B
Diff

--- configure.in
+++ configure.in
@@ -225,9 +225,9 @@ case "${host_os}" in
kernel=`uname -r`
case "${kernel}" in
- 2.6.*)
- AC_MSG_RESULT([2.6 family (${kernel})])
- AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
+ 2.6.*|3.*)
+ AC_MSG_RESULT([2.6.x/3.x family (${kernel})])
+ AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x])
;;
2.4.*)