mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
|
||||
|
||||
#if !defined(XML_API)
|
||||
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||
#if !defined(POCO_NO_GCC_API_ATTRIBUTE) && defined (__GNUC__) && (__GNUC__ >= 4)
|
||||
#define XML_API __attribute__ ((visibility ("default")))
|
||||
#else
|
||||
#define XML_API
|
||||
|
Reference in New Issue
Block a user