diff options
author | Abhishek Dasgupta <a10gupta@linux.vnet.ibm.com> | 2016-03-16 09:28:18 (GMT) |
---|---|---|
committer | Abhishek Dasgupta <abhi2743@gmail.com> | 2016-03-21 11:28:53 (GMT) |
commit | b27d0420fb67d86be335d6d88c2e5face84c40bd (patch) | |
tree | 6d430e1502e9fe3802549c9b4659155997592746 /src | |
parent | 4d391fe692ae6b9e0105f473945c415a3ce5a401 (diff) | |
download | glog-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.h | 2 |
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) |