Re: include[1/2]: add a strcmpW-equivalent function usable in tests.

2010-02-23 Thread Paul Vriens
On 02/23/2010 01:26 PM, Alexandre Julliard wrote: Paul Vriens writes: hi Alexandre, Is the idea to now use this function instead of all those different ones currently present in the tests? Sure. I'll keep that in mind when touching those files. -- Cheers, Paul.

Re: include[1/2]: add a strcmpW-equivalent function usable in tests.

2010-02-23 Thread Alexandre Julliard
Paul Vriens writes: > hi Alexandre, > > Is the idea to now use this function instead of all those different > ones currently present in the tests? Sure. -- Alexandre Julliard julli...@winehq.org

Re: include[1/2]: add a strcmpW-equivalent function usable in tests.

2010-02-23 Thread Paul Vriens
On 02/20/2010 10:52 PM, Mikołaj Zalewski wrote: As I've learned, lstrcmpW doesn't work under Windows 9x, thus it is not a good choice to test functionality that existed in these version of Windows. On the other hand, strcmpW is not available on standalone builds on Windows. However, this funct

Re: include[1/2]: add a strcmpW-equivalent function usable in tests.

2010-02-23 Thread Paul Vriens
On 02/20/2010 10:52 PM, Mikołaj Zalewski wrote: As I've learned, lstrcmpW doesn't work under Windows 9x, thus it is not a good choice to test functionality that existed in these version of Windows. On the other hand, strcmpW is not available on standalone builds on Windows. However, this funct

Re: include[1/2]: add a strcmpW-equivalent function usable in tests.

2010-02-22 Thread Mikołaj Zalewski
2010/2/22 Dmitry Timoshkov : > Mikołaj Zalewski wrote: > >> +/* strcmpW is avaiable for tests compiled under Wine, but not in standalone >> + * builds under Windows, so we reimplement it under a different name. */ >> +static inline int winetest_strcmpW( const WCHAR *str1, const WCHAR *str2 ) >> +{

Re: include[1/2]: add a strcmpW-equivalent function usable in tests.

2010-02-21 Thread Dmitry Timoshkov
Mikołaj Zalewski wrote: > +/* strcmpW is avaiable for tests compiled under Wine, but not in standalone > + * builds under Windows, so we reimplement it under a different name. */ > +static inline int winetest_strcmpW( const WCHAR *str1, const WCHAR *str2 ) > +{ > +while (*str1 && (*str1 == *s