[Webkit-unassigned] [Bug 48127] [Qt][WK2] Plugin initialization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 3 10:12:37 PDT 2010


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





--- Comment #34 from Anders Carlsson <andersca at apple.com>  2010-11-03 10:12:36 PST ---
(In reply to comment #33)
> (In reply to comment #32)
> > (In reply to comment #30)
> > > I'd prefer to stay with the XP-defines or add another level to make it clearer what they mean but to map them to the XP-defines.
> > 
> > That makes sense to me.
> 
> So we could have:
> 
> #define NESCAPE_PLUGIN_PLATFORM(WTF_FEATURE) (defined XP_##WTF_FEATURE && XP_##WTF_FEATURE)
> 

I like this, but it would be far more elegant if we didn't have to #define XP_X11. I suppose we could do something like

#ifdef XP_MACOSX
#define WTF_XP_MACOSX XP_MACOSX
#endif

#ifdef XP_WIN
#define WTF_XP_WIN XP_WIN
#endif

#ifdef XP_UNIX
#define WTF_XP_X11 XP_UNIX
#endif

-- 
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