Subj : JS_THREADSAFE compile problems To : Mike Moening From : Rob Swindell Date : Tue Mar 01 2005 04:19 pm Re: JS_THREADSAFE compile problems By: Mike Moening to netscape.public.mozilla.jseng on Tue Mar 01 2005 04:02 pm > I'm trying to build spidermonkey standalone with multi-threading support on > Windows using VC++ 6.0 SP5. > > I've defined the symbol JS_THREADSAFE > This causes the following compiler error in jslock.h: Cannot open include > file: 'pratom.h' > > Apparently jslock.h uses headers which aren't part of the tar ball I > downloaded for spidermonkey: > #include "pratom.h" > #include "prlock.h" > #include "prcvar.h" > > Can anybody tell me how to get these and the C files that go with them > without building the entire firefox/mozilla tree? > These should really be included in the initial download... You need nspr4. It's available in the nsprpub directory at cvs-mirror.mozilla.org. > Also how do I build the jsd library on windows. I can't seem to find any > help on how to do this either... Sorry, don't know about jsd. digital man Snapple "Real Fact" #117: The starfish is the only animal that can turn its stomach inside out. .