[Webkit-unassigned] [Bug 25809] decorations __declspec(dlimport) and __declspec(dlexport) break linking on win32 with mingw
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 14 15:02:09 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25809
------- Comment #2 from fridrich.strba at bluewin.ch 2009-05-14 15:02 PDT -------
(From update of attachment 30359)
> --- webkit-1.1.7/JavaScriptCore/config.h (revision 43188)
> +++ webkit-1.1.7/JavaScriptCore/config.h (working copy)
> @@ -25,7 +25,7 @@
>
> #include <wtf/Platform.h>
>
> -#if PLATFORM(WIN_OS) && !defined(BUILDING_WX__)
> +#if PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)
> #if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
> #define JS_EXPORTDATA __declspec(dllexport)
> #else
> --- webkit-1.1.7/WebCore/config.h (revision 43188)
> +++ webkit-1.1.7/WebCore/config.h (working copy)
> @@ -24,7 +24,7 @@
>
> #include <wtf/Platform.h>
>
> -#if PLATFORM(WIN_OS) && !defined(BUILDING_WX__)
> +#if PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)
> #if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
> #define JS_EXPORTDATA __declspec(dllexport)
> #else
> --- webkit-1.1.7/WebKitTools/DumpRenderTree/config.h (revision 43188)
> +++ webkit-1.1.7/WebKitTools/DumpRenderTree/config.h (working copy)
> @@ -26,7 +26,7 @@
>
> #include <wtf/Platform.h>
>
> -#if PLATFORM(WIN_OS)
> +#if PLATFORM(WIN_OS) && !defined(__MINGW32__)
> #define JS_EXPORTDATA __declspec(dllimport)
> #define WEBKIT_EXPORTDATA __declspec(dllimport)
> #else
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list