mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define POCO_LIBRARY_API __declspec(dllexport)
|
||||
#elif defined(__GNUC__) && (__GNUC__ >= 4)
|
||||
#define POCO_LIBRARY_API __attribute__ ((visibility ("default")))
|
||||
#else
|
||||
#define POCO_LIBRARY_API
|
||||
#endif
|
||||
@@ -94,6 +96,10 @@ extern "C" \
|
||||
pManifest->insert(new Poco::MetaObject<cls, _Base>(#cls));
|
||||
|
||||
|
||||
#define POCO_EXPORT_INTERFACE(cls, itf) \
|
||||
pManifest->insert(new Poco::MetaObject<cls, _Base>(itf));
|
||||
|
||||
|
||||
#define POCO_EXPORT_SINGLETON(cls) \
|
||||
pManifest->insert(new Poco::MetaSingleton<cls, _Base>(#cls));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user