00001 #ifndef MYTHBASEEXP_H_
00002 #define MYTHBASEEXP_H_
00003
00004
00005
00006
00007 #if defined( QT_CORE_LIB ) && defined( __cplusplus )
00008 # include <QtCore/qglobal.h>
00009 # ifdef MBASE_API
00010 # define MBASE_PUBLIC Q_DECL_EXPORT
00011 # else
00012 # define MBASE_PUBLIC Q_DECL_IMPORT
00013 # endif
00014 #else
00015 # define MBASE_PUBLIC
00016 #endif
00017
00018 #if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)))
00019 # define MHIDDEN __attribute__((visibility("hidden")))
00020 # define MUNUSED __attribute__((unused))
00021 # define MDEPRECATED __attribute__((deprecated))
00022 #else
00023 # define MHIDDEN
00024 # define MUNUSED
00025 # define MDEPRECATED
00026 #endif
00027
00028 #if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
00029 # define MERROR(x) __attribute__((error(x)))
00030 #else
00031 # define MERROR(x)
00032 #endif
00033
00034 #endif // MYTHBASEEXP_H_