Trouble compiling tests standalone with cl

Dan Kegel daniel.r.kegel at gmail.com
Mon Oct 3 11:17:15 CDT 2005


Yes!  It made my original, simple command work.
I hope this makes it into CVS soon.

On 10/2/05, Dimi Paun <dimi at lattica.com> wrote:
> On Sun, 2005-10-02 at 22:19 -0700, Dan Kegel wrote:
> > I'd love that.  It should sense _X86_ and set __i386__ if
> > found, too.
>
> Does this work?
>
> Index: include/windef.h
> ===================================================================
> RCS file: /var/cvs/wine/include/windef.h,v
> retrieving revision 1.99
> diff -u -p -r1.99 windef.h
> --- include/windef.h    22 Sep 2005 10:58:04 -0000      1.99
> +++ include/windef.h    3 Oct 2005 05:26:26 -0000
> @@ -41,6 +41,10 @@ extern "C" {
>  # define _X86_
>  #endif
>
> +#if defined(_X86_) && !defined(__i386__)
> +# define __i386__
> +#endif
> +
>  #ifdef __x86_64__
>  #define _WIN64
>  #endif
> @@ -126,6 +130,10 @@ extern "C" {
>  # endif
>  #endif
>
> +#ifdef _MSC_VER
> +# define inline __inline
> +#endif
> +
>  #define CALLBACK    __stdcall
>  #define WINAPI      __stdcall
>  #define APIPRIVATE  __stdcall
>
>
> --
> Dimi Paun <dimi at lattica.com>
> Lattica, Inc.
>
>



More information about the wine-devel mailing list