Shouldn't that be PLATFORM(LINUX) instead of PLATFORM(GTK)?  Seems that PLATFORM(GTK) could be wrong in some cases, and not having, for example PLATFORM(QT), could be also wrong.

On 7-Nov-08, at 3:47 AM, alp@webkit.org wrote:
--- trunk/JavaScriptCore/wtf/TCSystemAlloc.cpp 2008-11-06 18:42:24 UTC (rev 38186)
+++ trunk/JavaScriptCore/wtf/TCSystemAlloc.cpp	2008-11-06 18:47:44 UTC (rev 38187)
@@ -51,6 +51,14 @@
 #include "TCSpinLock.h"
 #include "UnusedParam.h"
 
+#if HAVE(MMAP)
+static const int cProtFlags = PROT_READ | PROT_WRITE
+#if ENABLE(CTI) && PLATFORM(GTK)
+                              | PROT_EXEC
+#endif
+                              ;
+#endif
--
George Staikos
Torch Mobile Inc.
http://www.torchmobile.com/