pantry/projects/hadrons.org/libmd/patch-symbol-alias.diff

13 lines
433 B
Diff
Raw Normal View History

--- a/src/local-link.h 2021-01-02 16:26:30.000000000 +0100
+++ b/src/local-link.h 2021-04-10 22:30:38.000000000 +0200
@@ -39,9 +39,9 @@
* Instead we use normal function wrapper in those cases, which are way more
* maintainable.
*/
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__APPLE__)
#define libmd_alias(alias, symbol) \
extern __typeof(symbol) alias __attribute__((__alias__(#symbol)))
#endif
#ifdef __ELF__