[LZ32_WINETEST]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 30 Apr 2014 12:24:15 +0000 (12:24 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 30 Apr 2014 12:24:15 +0000 (12:24 +0000)
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63062

rostests/winetests/lz32/CMakeLists.txt
rostests/winetests/lz32/lzexpand_main.c
rostests/winetests/lz32/testlist.c

index 96148d3..e1fe0e5 100644 (file)
@@ -1,8 +1,6 @@
 
 add_definitions(-DUSE_WINE_TODOS)
-
 add_executable(lz32_winetest lzexpand_main.c testlist.c)
-target_link_libraries(lz32_winetest wine)
 set_module_type(lz32_winetest win32cui)
-add_importlibs(lz32_winetest lz32 msvcrt kernel32 ntdll)
+add_importlibs(lz32_winetest lz32 msvcrt kernel32)
 add_cd_file(TARGET lz32_winetest DESTINATION reactos/bin FOR all)
index 41792d6..4980cf7 100644 (file)
@@ -83,8 +83,8 @@ static void full_file_path_name_in_a_CWD(const char *src, char *dst, BOOL expect
   if(expect_short) 
   {
     memcpy(shortname, dst, MAX_PATH);
-    retval = GetShortPathName(shortname, dst, MAX_PATH-1);
-    ok(retval > 0, "GetShortPathName returned %d for '%s', GLE=%d\n",
+    retval = GetShortPathNameA(shortname, dst, MAX_PATH-1);
+    ok(retval > 0, "GetShortPathNameA returned %d for '%s', GLE=%d\n",
        retval, dst, GetLastError());
   }
 }
index f0503e7..95c1a78 100644 (file)
@@ -1,10 +1,7 @@
 /* Automatically generated file; DO NOT EDIT!! */
 
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-
 #define STANDALONE
-#include "wine/test.h"
+#include <wine/test.h>
 
 extern void func_lzexpand_main(void);