user32 : Temporarily disable test for _WIN64.

Dmitry Timoshkov dmitry at codeweavers.com
Thu Apr 24 23:44:19 CDT 2008


"Erik de Castro Lopo" <mle+win at mega-nerd.com> wrote:

> In include/winuser.h we have:
> 
>    #if !defined _WIN64 && !defined __WINESRC__
>    # define GWL_USERDATA        (-21)
>    # define GWL_ID              (-12)
>    # define GWL_HWNDPARENT      (-8)
>    # define GWL_HINSTANCE       (-6)
>    # define GWL_WNDPROC         (-4)
>    # define DWL_MSGRESULT       0
>    # define DWL_DLGPROC         4
>    # define DWL_USER            8
>    #endif /* _WIN64 && __WINESRC__ */
> 
> which means fixing the test requires first finding out the correct
> values of these defines under _WIN64.

winuser.h already has the correct values for _WIN64.

> That seems a waste of effort
> when I'm aiming to get the simplest of WIN64 apps running, like
> a "Hello world" program that prints to stdout.

I assume that you have all other problems sorted out? (compiler support,
TLS layout, calling conventions, other ABI incompatibilities).

> Secondly, being unable to compile wine configured with --enable-win64
> because of a test for code that has zero percent chance of being
> correct anyway seems counter productive.

It's counter productive to start fighting without investigating the subject
first.

-- 
Dmitry.



More information about the wine-devel mailing list