mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 17:33:18 +00:00
[3RDPARTY] Link to oldnames for stricmp/wcsicmp
This commit is contained in:
parent
a3bab12b50
commit
1de09c477c
48 changed files with 80 additions and 51 deletions
|
@ -1,5 +1,8 @@
|
|||
|
||||
add_definitions(-DUSE_WINE_TODOS)
|
||||
add_definitions(
|
||||
-DUSE_WINE_TODOS
|
||||
-Dstrcasecmp=_stricmp
|
||||
)
|
||||
|
||||
list(APPEND SOURCE
|
||||
mimeintl.c
|
||||
|
|
|
@ -3,6 +3,10 @@ include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|||
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
||||
add_definitions(-DWINVER=0x600 -D_WIN32_WINNT=0x601)
|
||||
|
||||
add_definitions(
|
||||
-Dstrcasecmp=_stricmp
|
||||
)
|
||||
|
||||
list(APPEND SOURCE
|
||||
actctx.c
|
||||
atom.c
|
||||
|
|
|
@ -43,7 +43,7 @@ add_idl_headers(msi_winetest_idlheader typelib.idl)
|
|||
generate_idl_iids(typelib.idl)
|
||||
add_typelib(typelib.idl)
|
||||
|
||||
target_compile_definitions(msi_winetest PRIVATE __WINESRC__ USE_WINE_TODOS)
|
||||
target_compile_definitions(msi_winetest PRIVATE __WINESRC__ USE_WINE_TODOS strcasecmp=_stricmp)
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(msi_winetest PRIVATE -Wno-format-overflow -Wno-format)
|
||||
|
|
|
@ -3,7 +3,9 @@ add_definitions(
|
|||
-D__WINESRC__
|
||||
-DUSE_WINE_TODOS
|
||||
-DWINETEST_USE_DBGSTR_LONGLONG
|
||||
-D_USE_MATH_DEFINES)
|
||||
-D_USE_MATH_DEFINES
|
||||
-Dstrcasecmp=_stricmp
|
||||
)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
add_typelib(test_reg.idl test_tlb.idl tmarshal.idl)
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-Dstrcasecmp=_stricmp
|
||||
)
|
||||
|
||||
list(APPEND SOURCE
|
||||
devinst.c
|
||||
dialog.c
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
|
||||
add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
|
||||
add_definitions(
|
||||
-DWINETEST_USE_DBGSTR_LONGLONG
|
||||
-Dstrcasecmp=_stricmp
|
||||
)
|
||||
|
||||
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
add_executable(userenv_winetest userenv.c testlist.c)
|
||||
set_module_type(userenv_winetest win32cui)
|
||||
target_link_libraries(userenv_winetest oldnames)
|
||||
add_importlibs(userenv_winetest userenv advapi32 msvcrt kernel32)
|
||||
add_rostests_file(TARGET userenv_winetest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue