aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/jemalloc/preprocessor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/jemalloc/preprocessor.patch')
-rw-r--r--vcpkg/ports/jemalloc/preprocessor.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/jemalloc/preprocessor.patch b/vcpkg/ports/jemalloc/preprocessor.patch
new file mode 100644
index 0000000..6e6e2d1
--- /dev/null
+++ b/vcpkg/ports/jemalloc/preprocessor.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 3115504e2..ffb504b08 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -749,6 +749,7 @@ case "${host}" in
+ so="dll"
+ if test "x$je_cv_msvc" = "xyes" ; then
+ importlib="lib"
++ JE_APPEND_VS(CPPFLAGS, -DJEMALLOC_NO_PRIVATE_NAMESPACE)
+ DSO_LDFLAGS="-LD"
+ EXTRA_LDFLAGS="-link -DEBUG"
+ CTARGET='-Fo$@'