user32 : Temporarily disable test for _WIN64.
Erik de Castro Lopo
mle+win at mega-nerd.com
Thu Apr 24 23:26:37 CDT 2008
Dmitry Timoshkov wrote:
> "Erik de Castro Lopo" <mle+win at mega-nerd.com> wrote:
>
> > The file dlls/user32/tests/edit.c currently doesn't compile when
> > configured with --enable-win64 because GWL_WNDPROC (in include/winuser.h)
> > is not defined when _WIN64 is defined.
>
> Then you need to fix the test instead of disabling it.
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. 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.
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.
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
Seen on comp.lang.python:
Q : If someone has the code in python for a buffer overflow,
please post it.
A : Python does not support buffer overflows, sorry.
More information about the wine-devel
mailing list