Replace KDE_Q_EXPORT_PLUGIN, KDE_PACKED and KDE_WEAK_SYMBOL with TDE_* equivalent

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/49/head
Michele Calgaro 1 month ago
parent 942e33082e
commit 540f3a5ec6
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -49,23 +49,23 @@
#endif #endif
/** /**
* KDE_TQ_EXPORT_PLUGIN is a workaround for TQt not being able to * TDE_EXPORT_PLUGIN is a workaround for TQt not being able to
* cope with symbol visibility. * cope with symbol visibility.
*/ */
#define KDE_TQ_EXPORT_PLUGIN(PLUGIN) \ #define TDE_EXPORT_PLUGIN(PLUGIN) \
TQ_EXTERN_C TDE_EXPORT const char* qt_ucm_query_verification_data(); \ TQ_EXTERN_C TDE_EXPORT const char* qt_ucm_query_verification_data(); \
TQ_EXTERN_C TDE_EXPORT TQUnknownInterface* ucm_instantiate(); \ TQ_EXTERN_C TDE_EXPORT TQUnknownInterface* ucm_instantiate(); \
TQ_EXPORT_PLUGIN(PLUGIN) TQ_EXPORT_PLUGIN(PLUGIN)
/** /**
* The KDE_PACKED can be used to hint the compiler that a particular * The TDE_PACKED can be used to hint the compiler that a particular
* structure or class should not contain unnecessary paddings. * structure or class should not contain unnecessary paddings.
*/ */
#ifdef __GNUC__ #ifdef __GNUC__
#define KDE_PACKED __attribute__((__packed__)) #define TDE_PACKED __attribute__((__packed__))
#else #else
#define KDE_PACKED #define TDE_PACKED
#endif #endif
/** /**

Loading…
Cancel
Save