summaryrefslogtreecommitdiff
blob: 86d501365ffbae59c50d2103235206810f063d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Ole Streicher <olebole@debian.org>
Date: Thu, 24 Nov 2016 14:31:06 +0100
Subject: Use the correct symbol to detect Linux OS

Otherwise the compilation fails on powerpc archs
---
 casa/aipsenv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/casa/aipsenv.h b/casa/aipsenv.h
index 7e272f0..25912b8 100644
--- a/casa/aipsenv.h
+++ b/casa/aipsenv.h
@@ -130,7 +130,7 @@ namespace casacore { //# NAMESPACE CASACORE - BEGIN
 #if defined(AIPS_LINUX)
 #undef AIPS_LINUX
 #endif
-#if defined(__linux)
+#if defined(__linux__)
 #define AIPS_LINUX
 #endif