From: Manuel Nickschas Date: Wed, 19 Feb 2014 21:41:41 +0000 (+0100) Subject: Fix -Wundef warning X-Git-Tag: 0.10-rc1~20 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=13c1c8fd092079ff9bc4ff3acfa9100d008d5ea7;ds=inline Fix -Wundef warning Was thrown on 32 bit, should be #ifdef instead of #if because the attribute is only defined on 64 bit machines. --- diff --git a/src/common/logbacktrace_unix.cpp b/src/common/logbacktrace_unix.cpp index d6d8d718..cc9cbf67 100644 --- a/src/common/logbacktrace_unix.cpp +++ b/src/common/logbacktrace_unix.cpp @@ -54,7 +54,7 @@ void Quassel::logBacktrace(const QString &filename) // void *dli_saddr; /* Exact value of nearest symbol. */ // } Dl_info; - #if __LP64__ + #ifdef __LP64__ int addrSize = 16; #else int addrSize = 8;