1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 10:37:24 -07:00

Tag sodium_runtime_has_*() symbols as weak

This commit is contained in:
Frank Denis 2017-07-19 12:30:40 +02:00
parent 8b9b6a54be
commit cc51916072

View File

@ -8,31 +8,31 @@
extern "C" { extern "C" {
#endif #endif
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_neon(void); int sodium_runtime_has_neon(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_sse2(void); int sodium_runtime_has_sse2(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_sse3(void); int sodium_runtime_has_sse3(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_ssse3(void); int sodium_runtime_has_ssse3(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_sse41(void); int sodium_runtime_has_sse41(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_avx(void); int sodium_runtime_has_avx(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_avx2(void); int sodium_runtime_has_avx2(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_pclmul(void); int sodium_runtime_has_pclmul(void);
SODIUM_EXPORT SODIUM_EXPORT __attribute__((weak))
int sodium_runtime_has_aesni(void); int sodium_runtime_has_aesni(void);
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */