Resolve all include/wine/test.h dependencies, avoid an error with MSVC

Dmitry Timoshkov dmitry at baikal.ru
Tue Jun 14 20:58:22 CDT 2005


"Alexandre Julliard" <julliard at winehq.org> wrote:

> > @@ -89,7 +91,7 @@ struct test
> >      void (*func)(void);
> >  };
> >  
> > -static const struct test winetest_testlist[];
> > +static const struct test winetest_testlist[2];
> 
> This isn't correct, the size is 2 only for standalone tests.

The case above is protected by #ifdef STANDALONE so that shouldn't be an issue.

> Does
> something like this work for MSVC too?

Yes, it works. Thanks.

-- 
Dmitry.




More information about the wine-devel mailing list