diff options
Diffstat (limited to 'src/main.cpp')
-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); |