Changeset 44184 in webkit for trunk/JavaScriptCore/config.h


Ignore:
Timestamp:
May 27, 2009, 5:04:33 AM (16 years ago)
Author:
[email protected]
Message:

2009-05-27 Fridrich Strba <[email protected]>

Reviewed by Maciej Stachowiak.

When building with MinGW, don't use the declspec(dl{import,export})
decorations and rely on the linker to use its nifty auto-import feature.
It is extremely hard to get the decorations right with MinGW in general
and impossible in WebKit, where the resulting shared library is linking
together some static libraries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/config.h

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