Le sam 18/09/2004 à 11:39, Dmitry Timoshkov a écrit : > "Alexander Yaworsky" <[EMAIL PROTECTED]> wrote: > > > +#ifdef UNICODE > > +# define SERVICES_ACTIVE_DATABASE SERVICES_ACTIVE_DATABASEW > > +#else > > +# define SERVICES_ACTIVE_DATABASE SERVICES_ACTIVE_DATABASEA > > +#endif > > Wine uses WINELIB_NAME_AW macro in order to simplify '#ifdef UNICODE' > magic, so in the above case it would look like this: > > #define SERVICES_ACTIVE_DATABASE WINELIB_NAME_AW(SERVICES_ACTIVE_DATABASE)
WINELIB_NAME_AW also has some #ifdef to prevent the use of a non AW-qualified identifier while building Wine itself. Vincent