add missing check for POCO_NO_GCC_API_ATTRIBUTE

This commit is contained in:
Günter Obiltschnig 2019-11-17 09:32:42 +01:00
parent cc664cba89
commit d588f86961

View File

@ -50,7 +50,7 @@
#if !defined(PDF_API)
#if defined (__GNUC__) && (__GNUC__ >= 4)
#if !defined(POCO_NO_GCC_API_ATTRIBUTE) && defined (__GNUC__) && (__GNUC__ >= 4)
#define PDF_API __attribute__ ((visibility ("default")))
#else
#define PDF_API