sure this comment is wrong prefer + Can be used like #if (WESTON_VERSION_AT_LEAST(1, 2, 0))
And in this case you can not build the feature for weston 1.3.0 while you want to a version up of 1.3.0 I think you have to change completly your macro. Look at your WESTON_VERSION macro this one can help you to write the good WESTON_VERSION_AT_LEAST macro 2013/9/23 Bill Spitzak <[email protected]> > On 09/22/2013 10:26 PM, Pier Luigi Fiorini wrote: > >> Make it easier to check for a Weston version. >> > > +/* >> + Can be used like #if (WESTON_VERSION >= WESTON_VERSION_AT_LEAST(1, >> 2, 0)) >> > > I think this comment is wrong. > > > +*/ >> +#define WESTON_VERSION_AT_LEAST(major, minor, micro) \ >> + (WESTON_VERSION_MAJOR == (major) && \ >> + WESTON_VERSION_MINOR == (minor) && \ >> + WESTON_VERSION_MICRO >= (micro)) >> >> #endif >> >> > ______________________________**_________________ > wayland-devel mailing list > wayland-devel@lists.**freedesktop.org<[email protected]> > http://lists.freedesktop.org/**mailman/listinfo/wayland-devel<http://lists.freedesktop.org/mailman/listinfo/wayland-devel> >
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
