Added service database names
Vincent Béron
vberon at mecano.gme.usherb.ca
Sat Sep 18 10:42:21 CDT 2004
Le sam 18/09/2004 à 11:39, Dmitry Timoshkov a écrit :
> "Alexander Yaworsky" <yaworsky at migusoft.ru> 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
More information about the wine-devel
mailing list