Changeset 45011 in webkit for trunk/JavaScriptCore/API


Ignore:
Timestamp:
Jun 23, 2009, 4:06:36 PM (16 years ago)
Author:
[email protected]
Message:

2009-06-23 Yong Li <[email protected]>

Reviewed by George Staikos.

https://bugs.webkit.org/show_bug.cgi?id=26654
Add the proper export define for the JavaScriptCore API when building for WINCE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSBase.h

    r42980 r45011  
    7070#elif defined(__GNUC__)
    7171    #define JS_EXPORT __attribute__((visibility("default")))
     72#elif defined(_WIN32_WCE)
     73    #if defined(JS_BUILDING_JS)
     74        #define JS_EXPORT __declspec(dllexport)
     75    #elif defined(JS_IMPORT_JS)
     76        #define JS_EXPORT __declspec(dllimport)
     77    #else
     78        #define JS_EXPORT
     79    #endif
    7280#elif defined(WIN32) || defined(_WIN32)
    7381    /*
Note: See TracChangeset for help on using the changeset viewer.