From f70672336e80a0f727284ec896032e490b120a90 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 29 Oct 2013 10:28:04 +0100 Subject: [PATCH] d3d8/tests: Avoid windowsx.h. --- dlls/d3d8/tests/device.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c index 9db53356fa1..2e2a0c03a07 100644 --- a/dlls/d3d8/tests/device.c +++ b/dlls/d3d8/tests/device.c @@ -22,11 +22,13 @@ */ #define COBJMACROS -#include #include #include #include "wine/test.h" +#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp)) +#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp)) + static INT screen_width; static INT screen_height;