[Webkit-unassigned] [Bug 25998] [GTK] Build failure: conflicting declaration 'typedef XID Cursor'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 15 08:41:28 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25998





--- Comment #8 from Holger Freyther <zecke at selfish.org>  2009-07-15 08:41:28 PDT ---
(In reply to comment #7)
> (In reply to comment #5)
> > Where is the QuickDraw dependency coming from? from the npapi.h? npruntime.h?
> 
> in WebCore/bridge/npapi.h
> included from
> WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h
> 
> #if defined(__APPLE_CC__) && !defined(__MACOS_CLASSIC__) && !defined(XP_UNIX)
> #   define XP_MACOSX
> #endif
> 
> #ifdef XP_MAC
>     #include <Quickdraw.h>
>     #include <Events.h>
> #endif
> 
> #if defined(XP_MACOSX) && defined(__LP64__)
> #define NP_NO_QUICKDRAW
> #define NP_NO_CARBON
> #endif
> 
> #ifdef XP_MACOSX
>     #include <ApplicationServices/ApplicationServices.h>
>     #include <OpenGL/OpenGL.h>
> #ifndef NP_NO_CARBON
>     #include <Carbon/Carbon.h>
> #endif
> #endif


Could we define XP_UNIX when building the plugin? Any idea how to not get
XP_MAC defined? I would pretty much prefer a solution that does not include
Quickdraw.h and such in the first place.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list