mirror of
https://github.com/facebook/zstd.git
synced 2025-11-28 00:04:28 -05:00
hide asm functions on apple platforms
This commit is contained in:
parent
e2cd353473
commit
b1a30e2b4a
@ -68,6 +68,8 @@
|
||||
/* Mark the internal assembly functions as hidden */
|
||||
#ifdef __ELF__
|
||||
# define ZSTD_HIDE_ASM_FUNCTION(func) .hidden func
|
||||
#elif defined(__APPLE__)
|
||||
# define ZSTD_HIDE_ASM_FUNCTION(func) .private_extern func
|
||||
#else
|
||||
# define ZSTD_HIDE_ASM_FUNCTION(func)
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user