Fix MAP_ANONYMOUS issue.
@@ -9,6 +9,10 @@ make target/release/libpymemprofile_api.a
# symbol. On macOS it's using ABI that is also too old to have it.
sed -i -e 's/SYMBOL_PREFIX.aligned_alloc/SYMBOL_PREFIX(no_aligned_alloc_on_conda/' filprofiler/_filpreload.c
sed -i -e 's/DYLD_INTERPOSE.SYMBOL_PREFIX.*aligned_alloc/\/\/ /' filprofiler/_filpreload.c
+
+# macOS on Conda is ancient so doesn't have MAP_ANONYMOUS:
+sed -i -e 's/MAP_ANONYMOUS/MAP_ANON/' filprofiler/_filpreload.c
+
# Build and install Python code:
export PIP_LOG=/dev/stdout
$PYTHON -m pip install . -vv
