Changeset 648 for trunk/src/3rdparty


Ignore:
Timestamp:
Mar 7, 2010, 9:50:22 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

global: Use declspec(dllexport) on OS/2 (first step to reduce the number of exports in DLLs).

Location:
trunk/src/3rdparty
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/javascriptcore/JavaScriptCore/API/JSBase.h

    r561 r648  
    6868#if defined(BUILDING_WX__)
    6969    #define JS_EXPORT
    70 #elif defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC__)
     70#elif defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC__) && !defined(__OS2__)
    7171    #define JS_EXPORT __attribute__((visibility("default")))
    7272#elif defined(_WIN32_WCE)
     
    7878        #define JS_EXPORT
    7979    #endif
    80 #elif defined(WIN32) || defined(_WIN32)
     80#elif defined(WIN32) || defined(_WIN32) || defined(__OS2__)
    8181    /*
    8282     * TODO: Export symbols with JS_EXPORT when using MSVC.
  • trunk/src/3rdparty/javascriptcore/JavaScriptCore/config.h

    r561 r648  
    2727
    2828#if !defined(JS_EXPORTDATA)
    29 #if PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)
     29#if (PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)) || PLATFORM(OS2)
    3030#if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
    3131#define JS_EXPORTDATA __declspec(dllexport)
  • trunk/src/3rdparty/webkit/JavaScriptCore/API/JSBase.h

    r561 r648  
    6868#if defined(BUILDING_WX__)
    6969    #define JS_EXPORT
    70 #elif defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC__)
     70#elif defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC__) && !defined(__OS2__)
    7171    #define JS_EXPORT __attribute__((visibility("default")))
    7272#elif defined(_WIN32_WCE)
     
    7878        #define JS_EXPORT
    7979    #endif
    80 #elif defined(WIN32) || defined(_WIN32)
     80#elif defined(WIN32) || defined(_WIN32) || defined(__OS2__)
    8181    /*
    8282     * TODO: Export symbols with JS_EXPORT when using MSVC.
  • trunk/src/3rdparty/webkit/JavaScriptCore/config.h

    r561 r648  
    2626#include <wtf/Platform.h>
    2727
    28 #if PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)
     28#if (PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)) || PLATFORM(OS2)
    2929#if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
    3030#define JS_EXPORTDATA __declspec(dllexport)
  • trunk/src/3rdparty/webkit/WebCore/config.h

    r561 r648  
    2626#include <wtf/Platform.h>
    2727
    28 #if PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)
     28#if (PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)) || PLATFORM(OS2)
    2929#if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
    3030#define JS_EXPORTDATA __declspec(dllexport)
Note: See TracChangeset for help on using the changeset viewer.