aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/system_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/system_TEST.cc')
-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__)