From: Ole Streicher 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