From 428a0741e9274dbc11110ad224c84f9efde41aa4 Mon Sep 17 00:00:00 2001 From: Mikhail Voronov Date: Sun, 7 Jan 2024 12:06:01 +0400 Subject: [PATCH] check MAP_NORESERVE for FreeBSD 14 --- lib/FBase.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/FBase.C b/lib/FBase.C index 20bfe4a..f3c657f 100644 --- a/lib/FBase.C +++ b/lib/FBase.C @@ -1,5 +1,9 @@ #include +#ifndef MAP_NORESERVE +#define MAP_NORESERVE 0 +#endif + using namespace std; namespace iret {