Eric van Beurden : usp10: Change the header includes to pull in 'windows.h' instead of the component headers.

Alexandre Julliard julliard at winehq.org
Fri Dec 18 10:49:10 CST 2009


Module: wine
Branch: master
Commit: 2d3caa516e1256dfdd8185795807bba1a1c0bfaa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2d3caa516e1256dfdd8185795807bba1a1c0bfaa

Author: Eric van Beurden <ericvb at transgaming.com>
Date:   Thu Dec 17 15:30:41 2009 -0500

usp10: Change the header includes to pull in 'windows.h' instead of the component headers.

---

 dlls/usp10/tests/usp10.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 9a4c3c6..5795e90 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -27,11 +27,7 @@
 #include <stdio.h>
 
 #include <wine/test.h>
-#include <winbase.h>
-#include <wingdi.h>
-#include <winuser.h>
-#include <winerror.h>
-#include <winnls.h>
+#include <windows.h>
 #include <usp10.h>
 
 static void test_ScriptShape(HDC hdc)
@@ -1177,7 +1173,7 @@ static void test_digit_substitution(void)
         LGRPID_ARMENIAN
     };
     HMODULE hKernel32;
-    static BOOL (WINAPI * pEnumLanguageGroupLocalesA)(LANGGROUPLOCALE_ENUMPROC,LGRPID,DWORD,LONG_PTR);
+    static BOOL (WINAPI * pEnumLanguageGroupLocalesA)(LANGGROUPLOCALE_ENUMPROCA,LGRPID,DWORD,LONG_PTR);
 
     hKernel32 = GetModuleHandleA("kernel32.dll");
     pEnumLanguageGroupLocalesA = (void*)GetProcAddress(hKernel32, "EnumLanguageGroupLocalesA");




More information about the wine-cvs mailing list