Never hide official symbols (for -fvisibility=hidden)

Based on expat-visibility.patch by
Cristian Rodríguez <crrodriguez@opensuse.org>
This commit is contained in:
Sebastian Pipping 2016-05-11 20:04:17 +02:00
parent a4c383b722
commit 1eaf75a2c3

View file

@ -65,6 +65,9 @@
#endif
#endif /* not defined XML_STATIC */
#if !defined(XMLIMPORT) && defined(__GNUC__) && (__GNUC__ >= 4)
#define XMLIMPORT __attribute__ ((visibility ("default")))
#endif
/* If we didn't define it above, define it away: */
#ifndef XMLIMPORT