summaryrefslogtreecommitdiffstats
path: root/thirdparty/zstd/common/portability_macros.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-08 15:03:25 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-08 15:03:25 +0200
commit4d2e8e4cab5824d973f4a70bc271c461007c75fc (patch)
tree0a6ef767404661261264ebd55dc346dfeca625fb /thirdparty/zstd/common/portability_macros.h
parent0e7c9d5338a108abde7b87a741482612f814155a (diff)
parenta88b4a4d56a923ad1f3652eb1133676f8c96c44d (diff)
downloadredot-engine-4d2e8e4cab5824d973f4a70bc271c461007c75fc.tar.gz
Merge pull request #90253 from akien-mga/zstd-1.5.6
zstd: Update to upstream version 1.5.6
Diffstat (limited to 'thirdparty/zstd/common/portability_macros.h')
-rw-r--r--thirdparty/zstd/common/portability_macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/zstd/common/portability_macros.h b/thirdparty/zstd/common/portability_macros.h
index 8fd6ea82d1..e50314a78e 100644
--- a/thirdparty/zstd/common/portability_macros.h
+++ b/thirdparty/zstd/common/portability_macros.h
@@ -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