mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
refs #802 Fixed linker errors for exported explicit template instantiations with Clang on Windows.
This commit is contained in:
committed by
Klaus Basan
parent
3c40c1026e
commit
3ab121a593
@@ -29,13 +29,23 @@
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* \def BLACKMISC_EXPORT_TEMPLATE
|
||||
* BlackMisc Template Export Macro
|
||||
* \def BLACKMISC_EXPORT_DECLARE_TEMPLATE
|
||||
* BlackMisc Export Explicit Template Declaration Macro
|
||||
*/
|
||||
|
||||
/*!
|
||||
* \def BLACKMISC_EXPORT_DEFINE_TEMPLATE
|
||||
* BlackMisc Export Explicit Template Definition Macro
|
||||
*/
|
||||
#if defined(Q_OS_WIN) && defined(Q_CC_GNU)
|
||||
# define BLACKMISC_EXPORT_TEMPLATE BLACKMISC_EXPORT
|
||||
# define BLACKMISC_EXPORT_DECLARE_TEMPLATE BLACKMISC_EXPORT
|
||||
# define BLACKMISC_EXPORT_DEFINE_TEMPLATE
|
||||
#elif defined(Q_OS_WIN) && defined(Q_CC_CLANG)
|
||||
# define BLACKMISC_EXPORT_DECLARE_TEMPLATE
|
||||
# define BLACKMISC_EXPORT_DEFINE_TEMPLATE BLACKMISC_EXPORT
|
||||
#else
|
||||
# define BLACKMISC_EXPORT_TEMPLATE
|
||||
# define BLACKMISC_EXPORT_DECLARE_TEMPLATE
|
||||
# define BLACKMISC_EXPORT_DEFINE_TEMPLATE
|
||||
#endif
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user