diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/jemalloc/fix-host-use-libc.patch | |
Diffstat (limited to 'vcpkg/ports/jemalloc/fix-host-use-libc.patch')
| -rw-r--r-- | vcpkg/ports/jemalloc/fix-host-use-libc.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/jemalloc/fix-host-use-libc.patch b/vcpkg/ports/jemalloc/fix-host-use-libc.patch new file mode 100644 index 0000000..503286c --- /dev/null +++ b/vcpkg/ports/jemalloc/fix-host-use-libc.patch @@ -0,0 +1,13 @@ +diff --git a/include/jemalloc/jemalloc_macros.h.in b/include/jemalloc/jemalloc_macros.h.in +index ebb3137..05d996b 100644 +--- a/include/jemalloc/jemalloc_macros.h.in ++++ b/include/jemalloc/jemalloc_macros.h.in +@@ -142,7 +142,7 @@ + # define JEMALLOC_COLD + #endif + +-#if (defined(__APPLE__) || defined(__FreeBSD__)) && !defined(JEMALLOC_NO_RENAME) ++#if (defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || (defined(__linux__) && !defined(__GLIBC__))) && !defined(JEMALLOC_NO_RENAME) + # define JEMALLOC_SYS_NOTHROW + #else + # define JEMALLOC_SYS_NOTHROW JEMALLOC_NOTHROW |