yep, was a typo on my part On Mon, Nov 12, 2012 at 1:12 PM, Gustavo Sverzut Barbieri < [email protected]> wrote:
> I mean, if you have the "=" in the define, it will be placed everywhere > that the symbol is used, so if you have > > if (x == XCB_ATOM_NONE) > > if will expand like: if (x == = 0) > > > On Mon, Nov 12, 2012 at 11:10 AM, Christopher Michael < > [email protected]> wrote: > > > On 12/11/12 13:04, Gustavo Sverzut Barbieri wrote: > > > >> = 0? are you sure? > >> > >> > >> On Mon, Nov 12, 2012 at 11:02 AM, Enlightenment SVN < > >> [email protected]> wrote: > >> > >> Log: > >>> define XCB_ATOM_NONE if not defined because opensuse sucks > >>> ticket #1722 > >>> this commit brought to you by the recipient of the 2012 E-Devel > >>> "Hater" > >>> award > >>> > >>> > >>> Author: discomfitor > >>> Date: 2012-11-12 05:02:12 -0800 (Mon, 12 Nov 2012) > >>> New Revision: 79157 > >>> Trac: http://trac.enlightenment.org/**e/changeset/79157< > http://trac.enlightenment.org/e/changeset/79157> > >>> > >>> Modified: > >>> trunk/e/src/bin/e_alert_main.c > >>> > >>> Modified: trunk/e/src/bin/e_alert_main.c > >>> ==============================**==============================**======= > >>> --- trunk/e/src/bin/e_alert_main.c 2012-11-12 12:56:21 UTC (rev > >>> 79156) > >>> +++ trunk/e/src/bin/e_alert_main.c 2012-11-12 13:02:12 UTC (rev > >>> 79157) > >>> @@ -19,6 +19,10 @@ > >>> #define WINDOW_WIDTH 320 > >>> #define WINDOW_HEIGHT 240 > >>> > >>> +#ifndef XCB_ATOM_NONE > >>> +# define XCB_ATOM_NONE = 0 > >>> +#endif > >>> + > >>> /* local function prototypes */ > >>> static int _e_alert_connect(void); > >>> static void _e_alert_create(void); > >>> > >>> > >>> > >>> > > /usr/include/xcb/xproto.h: 1007 > > > > typedef enum xcb_atom_enum_t { > > XCB_ATOM_NONE = 0, > > XCB_ATOM_ANY = 0, > > XCB_ATOM_PRIMARY, > > XCB_ATOM_SECONDARY, > > XCB_ATOM_ARC, > > XCB_ATOM_ATOM, > > > > So ... no I am not really sure. Perhaps it should be something else ?? > > > > dh > > > > > > > > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: [email protected] > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
