Beautifying of Unicode mode check in tests

Andriy Palamarchuk apa3a at
Wed Jan 23 07:41:50 CST 2002

There was a few objections to have ugly conditionals
for Unicode-specific tests, like
#ifdef _UNICODE
 ... unicode-specific tests ...

This problem can be resolved by using instead function
or macro as Unicode indicator. Value of this indicator
will be defined, basing on presence of _UNICODE macro.

Now we'll have better-looking check, like:
 ... unicode-specific tests ...

Hope now we'll have one less thing to argue about ;-)

Andriy Palamarchuk

Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!

More information about the wine-devel mailing list