Bug 505680 - xpcshell for Symbian. r=mrbkap

This commit is contained in:
Makoto Kato 2009-07-24 19:05:57 +09:00
parent 74b5263a84
commit 240dd42e43

View File

@ -83,6 +83,9 @@
#ifdef XP_WIN
#include <windows.h>
#endif
#ifdef __SYMBIAN32__
#include <unistd.h>
#endif
#ifndef XPCONNECT_STANDALONE
#include "nsIScriptSecurityManager.h"
@ -535,7 +538,7 @@ GC(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
JS_GC(cx);
fprintf(gOutFile, "before %lu, after %lu, break %08lx\n",
(unsigned long)preBytes, (unsigned long)rt->gcBytes,
#ifdef XP_UNIX
#if defined(XP_UNIX) && !defined(__SYMBIAN32__)
(unsigned long)sbrk(0)
#else
0