Alexandre Goujon <[email protected]> writes: > @@ -609,6 +609,11 @@ extern HMODULE x11drv_module; > extern BYTE key_state_table[256]; > extern POINT cursor_pos; > > +#ifdef HAVE_XKB > +#define XKeycodeToKeysym(dpy,kc,i) \ > + ( use_xkb ? XkbKeycodeToKeysym(dpy, kc, 0, i) : XKeycodeToKeysym(dpy, > kc, i) ) > +#endif > +
That would make the code very confusing. You should define some explicit inline function instead. -- Alexandre Julliard [email protected]
