From 2f673f2965f5118cd3ac1ffe8744878e9ac74507 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 16 Oct 2013 22:59:10 +0200 Subject: [PATCH] d3dcompiler_43/tests: Compile with -D__WINESRC__. --- dlls/d3dcompiler_43/tests/Makefile.in | 1 - dlls/d3dcompiler_43/tests/hlsl.c | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dlls/d3dcompiler_43/tests/Makefile.in b/dlls/d3dcompiler_43/tests/Makefile.in index cd2a8ea2e41..5c2bed85a99 100644 --- a/dlls/d3dcompiler_43/tests/Makefile.in +++ b/dlls/d3dcompiler_43/tests/Makefile.in @@ -1,6 +1,5 @@ TESTDLL = d3dcompiler_43.dll IMPORTS = d3dcompiler d3d9 d3dx9 user32 -EXTRADEFS = -U__WINESRC__ -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS C_SRCS = \ asm.c \ diff --git a/dlls/d3dcompiler_43/tests/hlsl.c b/dlls/d3dcompiler_43/tests/hlsl.c index c29d0754c52..c3778ca1dcc 100644 --- a/dlls/d3dcompiler_43/tests/hlsl.c +++ b/dlls/d3dcompiler_43/tests/hlsl.c @@ -42,13 +42,12 @@ struct hlsl_probe_info static HWND create_window(void) { - WNDCLASS wc = {0}; - wc.lpfnWndProc = DefWindowProc; + WNDCLASSA wc = {0}; + wc.lpfnWndProc = DefWindowProcA; wc.lpszClassName = "d3d9_test_wc"; - RegisterClass(&wc); + RegisterClassA(&wc); - return CreateWindow("d3d9_test_wc", "d3d9_test", - 0, 0, 0, 0, 0, 0, 0, 0, 0); + return CreateWindowA("d3d9_test_wc", "d3d9_test", 0, 0, 0, 0, 0, 0, 0, 0, 0); } static IDirect3DDevice9 *init_d3d9(IDirect3DVertexDeclaration9 **vdeclaration, -- 2.11.4.GIT