Breakthrough! Can now crosscompile unit tests!

Jakob Eriksson jakob at
Sat May 11 02:29:15 CDT 2002

On Fri, May 10, 2002 at 04:21:05PM +0200, Uwe Bonnes wrote:
> >>>>> "Steven" == Steven Edwards <steven_ed4153 at> writes:
>     Steven> If you have to do a #ifdef for the unit tests do the generic
>     Steven> _WINDOWS as this covers both the mingw and the MSV_VC port. I
>     Steven> dont know if this will give you trouble when you go to cross
>     Steven> compile wine/tools that have #ifdef _WINDOWS but I use it on my
>     Steven> mingw port.
> Retinking my last mail and reading Steven's mail, wouldn't be __WIN32__ and
> __WINE__ be the better choices to destinguish.

You mean something like?

#ifdef __WINE__
#include <unit.h>
#define bla bla

Jakob Eriksson

The wages of sin
  is debugging.
		  	-- Ron Jeffries

More information about the wine-devel mailing list