Commit 3403585b authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Use malloc_trim only on linux

This is not the correct fix but a temporary one, this allow us
to compile on freebsd while a better fix is in the works.
parent fcc01021
Pipeline #97895 passed with stage
in 1 minute and 49 seconds
......@@ -1703,10 +1703,12 @@ void Screen::setScroll(const HistoryType &t, bool copyPreviousScroll)
#ifdef Q_OS_LINUX
#ifdef __GNUC__
// We might have been using gigabytes of memory, so make sure it is actually released
bool Screen::hasScroll() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment