mirror of
https://github.com/facebook/zstd.git
synced 2025-03-06 16:56:49 +02:00
Merge pull request #3688 from nidhijaju/hide-asm-apple
Hide ASM symbols on Apple platforms
This commit is contained in:
commit
25822342be
@ -68,6 +68,8 @@
|
|||||||
/* Mark the internal assembly functions as hidden */
|
/* Mark the internal assembly functions as hidden */
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
# define ZSTD_HIDE_ASM_FUNCTION(func) .hidden func
|
# define ZSTD_HIDE_ASM_FUNCTION(func) .hidden func
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define ZSTD_HIDE_ASM_FUNCTION(func) .private_extern func
|
||||||
#else
|
#else
|
||||||
# define ZSTD_HIDE_ASM_FUNCTION(func)
|
# define ZSTD_HIDE_ASM_FUNCTION(func)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user