I agree, although there doesn't appear to be a way to do that in the
makefiles - seems as though the best way to handle it so far has been to
ifdef the whole file with #ifdef HAVE_WAYLAND .

I could have missed something painfully obvious do that in a make file
though. It'd certainly be my preferred approach.
On 10/10/2013 11:39 PM, "Rainer Hochecker" <notifications@github.com> wrote:

> In xbmc/windowing/Makefile:
>
> >       WinSystem.cpp \
> >       WinEvents.cpp
> > -
> > +
> > +# Wayland implementation detail
>
> IMO those should not be included if wayland is not enabled
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/xbmc/xbmc/pull/2978/files#r6890508>
> .
>