Fix -Wundef warning
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 19 Feb 2014 21:41:41 +0000 (22:41 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 19 Feb 2014 21:41:41 +0000 (22:41 +0100)
Was thrown on 32 bit, should be #ifdef instead of #if because the attribute
is only defined on 64 bit machines.

src/common/logbacktrace_unix.cpp

index d6d8d71..cc9cbf6 100644 (file)
@@ -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;