summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbhishek Dasgupta <a10gupta@linux.vnet.ibm.com>2016-03-16 09:28:18 (GMT)
committerAbhishek Dasgupta <abhi2743@gmail.com>2016-03-21 11:28:53 (GMT)
commitb27d0420fb67d86be335d6d88c2e5face84c40bd (patch)
tree6d430e1502e9fe3802549c9b4659155997592746 /src
parent4d391fe692ae6b9e0105f473945c415a3ce5a401 (diff)
downloadglog-b27d0420fb67d86be335d6d88c2e5face84c40bd.zip
glog-b27d0420fb67d86be335d6d88c2e5face84c40bd.tar.gz
glog-b27d0420fb67d86be335d6d88c2e5face84c40bd.tar.bz2
Added support for PowerPC.
Diffstat (limited to 'src')
-rw-r--r--src/stacktrace_powerpc-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stacktrace_powerpc-inl.h b/src/stacktrace_powerpc-inl.h
index 1090dde..03b9108 100644
--- a/src/stacktrace_powerpc-inl.h
+++ b/src/stacktrace_powerpc-inl.h
@@ -111,7 +111,7 @@ int GetStackTrace(void** result, int max_depth, int skip_count) {
result[n++] = *(sp+2);
#elif defined(_CALL_SYSV)
result[n++] = *(sp+1);
-#elif defined(__APPLE__) || (defined(__linux) && defined(__PPC64__))
+#elif defined(__APPLE__) || ((defined(__linux) || defined(__linux__)) && defined(__PPC64__))
// This check is in case the compiler doesn't define _CALL_AIX/etc.
result[n++] = *(sp+2);
#elif defined(__linux)