mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
13 lines
433 B
Diff
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__
|