SHA256
1
0
forked from pool/expat
expat/expat-visibility.patch

16 lines
411 B
Diff
Raw Normal View History

Index: expat-2.1.1/lib/expat_external.h
===================================================================
--- expat-2.1.1.orig/lib/expat_external.h
+++ expat-2.1.1/lib/expat_external.h
@@ -66,9 +66,8 @@
#endif /* not defined XML_STATIC */
-/* If we didn't define it above, define it away: */
#ifndef XMLIMPORT
-#define XMLIMPORT
+#define XMLIMPORT __attribute__ ((visibility ("default")))
#endif