diff options
author | Er2 <er2@dismail.de> | 2025-07-06 20:23:58 +0300 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-07-06 19:44:46 +0200 |
commit | 0794008e6f6a349784e930c7a532684af3edb34c (patch) | |
tree | 33945e7da7b0fa6b30703e4c5e987113811997d3 /src | |
parent | 0cda785bc8d2a05cdbe9cab735de1fe69acbb2e6 (diff) |
FreeBSD: Add support
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index d04b52b..4a9c929 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2931,7 +2931,9 @@ static void set_display_server_environment_variables() { int main(int argc, char **argv) { setlocale(LC_ALL, "C"); // Sigh... stupid C +#ifdef __linux__ mallopt(M_MMAP_THRESHOLD, 65536); +#endif signal(SIGINT, stop_handler); signal(SIGTERM, stop_handler); |