ext/zstdruby/libzstd/common/portability_macros.h in zstd-ruby-1.5.5.1 vs ext/zstdruby/libzstd/common/portability_macros.h in zstd-ruby-1.5.6.0
- old
+ new
@@ -66,9 +66,11 @@
#endif
/* 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
/* Enable runtime BMI2 dispatch based on the CPU.