mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 22:50:17 +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(NetSSL_API)
|
||||
#if defined (__GNUC__) && (__GNUC__ >= 4)
|
||||
#if !defined(POCO_NO_GCC_API_ATTRIBUTE) && defined (__GNUC__) && (__GNUC__ >= 4)
|
||||
#define NetSSL_API __attribute__ ((visibility ("default")))
|
||||
#else
|
||||
#define NetSSL_API
|
||||
|
Reference in New Issue
Block a user