Files
DirectAdmin-1.62.4/services/custombuild/patches/mariadb-10.3-jemalloc_helper.h-patch
2025-11-12 20:19:03 +07:00

16 lines
420 B
Plaintext

--- storage/rocksdb/rocksdb/port/jemalloc_helper.h.orig 2019-12-30 17:34:30.454412000 -0700
+++ storage/rocksdb/rocksdb/port/jemalloc_helper.h 2019-12-30 17:38:27.519320000 -0700
@@ -12,6 +12,12 @@
#include <jemalloc/jemalloc.h>
#endif
+#ifdef __FreeBSD__
+#ifndef JEMALLOC_USABLE_SIZE_CONST
+#define JEMALLOC_USABLE_SIZE_CONST const
+#endif
+#endif
+
#ifndef JEMALLOC_CXX_THROW
#define JEMALLOC_CXX_THROW
#endif