aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2011-08-07 08:18:48 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-08-07 18:18:38 +0100
commit6f9aab0718c4320b392bf1f7319785313296ee31 (patch)
tree145ba949e065c499296a4278211822462335cfa0
parent22d7992db67c2d7846c806c8e361bd34982f6119 (diff)
downloadpaludis-6f9aab0718c4320b392bf1f7319785313296ee31.tar.gz
paludis-6f9aab0718c4320b392bf1f7319785313296ee31.tar.xz
linux -> __linux__
-rw-r--r--paludis/util/system_TEST.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/system_TEST.cc b/paludis/util/system_TEST.cc
index 6d54ab1..f78419e 100644
--- a/paludis/util/system_TEST.cc
+++ b/paludis/util/system_TEST.cc
@@ -49,7 +49,7 @@ TEST(GetenvError, Throws)
TEST(KernelVersion, Works)
{
EXPECT_TRUE(! kernel_version().empty());
-#ifdef linux
+#ifdef __linux__
EXPECT_TRUE('2' == kernel_version().at(0) || '3' == kernel_version().at(0));
EXPECT_TRUE('.' == kernel_version().at(1));
#elif defined(__FreeBSD__)