Subj : JS_THREADSAFE compile problems To : netscape.public.mozilla.jseng From : Mike Moening Date : 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... Also how do I build the jsd library on windows. I can't seem to find any help on how to do this either... Thanks! .