Export ldexp aliases on Windows
skip END and add .drectve export in assembly versions uncomment __strong_reference definition from cdefs-compat.h use weak references in place of strong references on Mac add DLLEXPORT to all strong references Fixes Julia issue #6777
This commit is contained in:
@@ -22,8 +22,12 @@
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifndef __strong_reference
|
||||
#define __strong_reference(sym,aliassym)
|
||||
//extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym)));
|
||||
#ifdef __APPLE__
|
||||
#define __strong_reference(sym,aliassym) __weak_reference(sym,aliassym)
|
||||
#else
|
||||
#define __strong_reference(sym,aliassym) \
|
||||
DLLEXPORT extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym)));
|
||||
#endif /* __APPLE__ */
|
||||
#endif /* __strong_reference */
|
||||
|
||||
#ifndef __weak_reference
|
||||
|
||||
Reference in New Issue
Block a user