mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-07 22:19:12 +00:00
Never hide official symbols (for -fvisibility=hidden)
Based on expat-visibility.patch by Cristian Rodríguez <crrodriguez@opensuse.org>
This commit is contained in:
parent
a4c383b722
commit
1eaf75a2c3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue