Linux 3.9 compat: Undefine GCC_VERSION
authorRichard Yao <ryao@cs.stonybrook.edu>
Mon, 4 Mar 2013 20:52:11 +0000 (15:52 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Mar 2013 23:48:48 +0000 (15:48 -0800)
commit1c24b699b0c7590e135f4701b50a4c933ebe0499
treefe11509fbc63e8285784ccda857a2d9f5d1edb38
parent7c72f8e391e3fc54a9c5be54083b541cb2951780
Linux 3.9 compat: Undefine GCC_VERSION

The mainline kernel started defining GCC_VERSION with commit
torvalds/linux@3f3f8d2f48acfd8ed3b8e6b7377935da57b27b16.
Unfortunately, LZ4 also defines this macro, but the two
defintions are incompatible. We undefine GCC_VERSION in lz4.c
to handle this.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1339
module/zfs/lz4.c