Skip to content

Commit 7732068

Browse files
authored
[SHLWAPI_WINETEST] Sync to wine-10.0 (reactos#8303)
- [SHLWAPI_WINETEST] Sync to wine-10.0
1 parent 3e3f583 commit 7732068

File tree

12 files changed

+3224
-2108
lines changed

12 files changed

+3224
-2108
lines changed

modules/rostests/winetests/shlwapi/CMakeLists.txt

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11

2-
add_definitions(-D__ROS_LONG64__)
2+
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/wine)
3+
remove_definitions(-DWINVER=0x502 -D_WIN32_WINNT=0x502)
4+
add_definitions(-DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DNTDDI_VERSION=0x06000100)
5+
36
add_definitions(
47
-DUSE_WINE_TODOS
5-
-DWINETEST_USE_DBGSTR_LONGLONG)
8+
-DWINETEST_USE_DBGSTR_LONGLONG
9+
-Dstrdup=_strdup)
610

711
list(APPEND SOURCE
812
assoc.c
@@ -30,6 +34,18 @@ add_importlibs(shlwapi_winetest shlwapi shell32 mlang oleaut32 ole32 user32 adva
3034

3135
if(MSVC)
3236
add_importlibs(shlwapi_winetest ntdll)
37+
target_compile_options(shlwapi_winetest PRIVATE
38+
/wd4113
39+
/wd4028
40+
/utf-8)
41+
endif()
42+
43+
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR
44+
CMAKE_C_COMPILER_ID STREQUAL "Clang")
45+
target_compile_options(shlwapi_winetest PRIVATE
46+
-Wno-format
47+
-Wno-discarded-qualifiers
48+
-Wno-incompatible-pointer-types)
3349
endif()
3450

3551
add_pch(shlwapi_winetest precomp.h "${PCH_SKIP_SOURCE}")

modules/rostests/winetests/shlwapi/assoc.c

Lines changed: 40 additions & 325 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)