pantry/projects/hadrons.org/libmd/patch-symbol-alias.diff
Jacob Heider 6b4c77cc10
+git-quick-stats+libbsd+libmd+util-linux (#153)
* +git-quick-stats

* +libbsd+util-linux+libmd

* Update package.yml

* fix tests
2023-01-30 03:00:29 -05:00

13 lines
433 B
Diff

--- 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__