[webkit-dev] Using JavaScriptCore in Win32

Darin Adler darin at apple.com
Mon Aug 10 10:21:22 PDT 2009


On Aug 10, 2009, at 8:27 AM, Brian Barnes wrote:

> I'm attempting to use JSC in my win32 port of my application, and am  
> running into a number of problems.  I suspect they all stem from the  
> fact that there must be some #defines I need to properly set before  
> compiling the headers or some other required library or header.   
> This seems to be the case as the first error I get is:
>
> #if !PLATFORM(WIN_OS)
>
> throws up an "unexpected token".

What header? The code you show above would only be in internal  
JavaScriptCore headers. These are intended to be used only inside  
JavaScriptCore itself, or inside other parts of the WebKit project.

Public JavaScriptCore headers, like JSObjectRef.h, won't have code  
like that in them.

     -- Darin



More information about the webkit-dev mailing list