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/calendar.cpp') diff --git a/library/calendar.cpp b/library/calendar.cpp index 70e764c..d281a14 100644 --- a/library/calendar.cpp +++ b/library/calendar.cpp @@ -18,10 +18,12 @@ ** **********************************************************************/ #include "calendar.h" +#include "qpeglobal.h" #include #include + /*! \class Calendar calendar.html \brief The Calendar class provides programmers with an easy to calculate @@ -30,14 +32,7 @@ \ingroup qtopiaemb */ -#ifdef Q_OS_MACX - #define ATTRIBUTE_UNUSED -#else - #define ATTRIBUTE_UNUSED __attribute__((unused)) -#endif - - -static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() ATTRIBUTE_UNUSED; +static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() QPE_SYMBOL_UNUSED; static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() { (void)QObject::tr("Jan"); (void)QObject::tr("Feb"); -- cgit v0.9.0.2