summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/MarkStackPosix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/runtime/MarkStackPosix.cpp')
-rw-r--r--JavaScriptCore/runtime/MarkStackPosix.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/JavaScriptCore/runtime/MarkStackPosix.cpp b/JavaScriptCore/runtime/MarkStackPosix.cpp
index 8e78ff3..c28bc0d 100644
--- a/JavaScriptCore/runtime/MarkStackPosix.cpp
+++ b/JavaScriptCore/runtime/MarkStackPosix.cpp
@@ -24,10 +24,10 @@
*/
#include "config.h"
-
-
#include "MarkStack.h"
+#if OS(UNIX) && !OS(SYMBIAN)
+
#include <unistd.h>
#include <sys/mman.h>
@@ -48,3 +48,5 @@ void MarkStack::releaseStack(void* addr, size_t size)
}
}
+
+#endif