Fix weak reference macro redefinition in wasm32 target

This commit is contained in:
llucinat 2019-11-14 08:41:10 +01:00
parent 97de1a46a9
commit f952e167d2

View file

@ -27,9 +27,7 @@
#ifdef __wasm__
#define openlibm_weak_reference(sym,alias) openlibm_strong_reference(sym,alias)
#endif
#if defined(__weak_alias) && defined(__NetBSD__)
#elif defined(__weak_alias) && defined(__NetBSD__)
#define openlibm_weak_reference(sym,alias) __weak_alias(alias,sym)
#elif defined(__weak_reference)
#define openlibm_weak_reference(sym,alias) __weak_reference(sym,alias)