From ac36bfe2794741188da1d6d4b471f96fd15d47ee Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 15 Oct 2004 19:23:42 +0000 Subject: -Add a QPEGLOBAL that adds define for 'weak', 'used' and unused symbols Make use of the newly added qpeglobal.h to kill custom versions of similiar macros --- (limited to 'library/qpeapplication.cpp') diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index df313ce..3efba20 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -88,6 +88,7 @@ #include "qpemenubar.h" #include "textcodecinterface.h" #include "imagecodecinterface.h" +#include #include #include @@ -1294,12 +1295,7 @@ void QPEApplication::reset() { #if (QT_VERSION < 238) && defined Q_OS_MACX bool qt_left_hand_scrollbars = false; #else -#ifdef Q_OS_MACX -#define WEAK_SYMBOL __attribute__((weak_import)) -#else -#define WEAK_SYMBOL __attribute__((weak)) -#endif -extern bool qt_left_hand_scrollbars WEAK_SYMBOL; +extern bool qt_left_hand_scrollbars QPE_WEAK_SYMBOL; #endif /*! -- cgit v0.9.0.2