Merge pull request #3688 from nidhijaju/hide-asm-apple

Hide ASM symbols on Apple platforms
This commit is contained in:
Yann Collet
2023-06-29 19:40:37 -07:00
committed by GitHub
+2
View File
@@ -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