Index: qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h =================================================================== --- qtscript.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2014-04-28 11:01:55.106740703 +0400 +++ qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2014-04-28 11:52:07.408011217 +0400 @@ -821,6 +821,10 @@ #endif +#if OS(SOLARIS) +#define USE_SYSTEM_MALLOC 1 +#endif + /* ENABLE macro defaults */ /* fastMalloc match validation allows for runtime verification that