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:
aleks-f
2013-01-13 10:31:21 -06:00
parent 5d6afa983e
commit 76a7e2e716
14 changed files with 14 additions and 36 deletions

View File

@@ -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