Reactos

[3RDPARTY] Link to oldnames for stricmp/wcsicmp

+80 -51
+1 -1
base/applications/cmdutils/cscript/CMakeLists.txt
··· 13 13 add_idl_headers(cscript_idlheader ihost.idl) 14 14 add_typelib(ihost.idl) 15 15 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ihost.tlb) 16 - target_link_libraries(cscript uuid wine) 16 + target_link_libraries(cscript uuid wine oldnames) 17 17 set_module_type(cscript win32cui UNICODE) 18 18 add_delay_importlibs(cscript shlwapi) 19 19 add_importlibs(cscript shell32 oleaut32 ole32 advapi32 user32 msvcrt kernel32 ntdll)
+1 -1
base/applications/cmdutils/reg/CMakeLists.txt
··· 5 5 add_definitions(-D__WINESRC__) 6 6 add_executable(reg add.c copy.c delete.c export.c import.c query.c reg.c reg.rc) 7 7 set_module_type(reg win32cui UNICODE) 8 - target_link_libraries(reg wine) 8 + target_link_libraries(reg wine oldnames) 9 9 add_importlibs(reg advapi32 advapi32_vista user32 msvcrt kernel32 ntdll) 10 10 add_cd_file(TARGET reg DESTINATION reactos/system32 FOR all)
+1 -1
base/applications/cmdutils/wscript/CMakeLists.txt
··· 11 11 add_idl_headers(wscript_idlheader ihost.idl) 12 12 add_typelib(ihost.idl) 13 13 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ihost.tlb) 14 - target_link_libraries(wscript uuid wine) 14 + target_link_libraries(wscript uuid wine oldnames) 15 15 set_module_type(wscript win32gui UNICODE) 16 16 add_delay_importlibs(wscript shlwapi) 17 17 add_importlibs(wscript shell32 oleaut32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
+1 -6
base/applications/network/telnet/CMakeLists.txt
··· 27 27 28 28 if (MSVC) 29 29 # C4838: conversion from 'int' to 'SHORT' requires a narrowing conversion 30 - # C4996: 'strnicmp': Deprecated POSIX name, Try _strnicmp instead! 31 - target_compile_options(telnet PRIVATE /wd4838 /wd4996) 32 - endif() 33 - 34 - if (NOT MSVC) 35 - target_compile_definitions(telnet PRIVATE _CRT_NONSTDC_NO_DEPRECATE) 30 + target_compile_options(telnet PRIVATE /wd4838) 36 31 endif() 37 32 38 33 if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
+3 -3
base/applications/winhlp32/CMakeLists.txt
··· 4 4 add_definitions( 5 5 -D__WINESRC__ 6 6 -D__ROS_LONG64__ 7 - -Dfileno=_fileno 8 - -Disatty=_isatty) 7 + -Dstrcasecmp=_stricmp 8 + ) 9 9 10 10 list(APPEND SOURCE 11 11 callback.c ··· 27 27 rsrc.rc) 28 28 29 29 set_module_type(winhlp32 win32gui) 30 - target_link_libraries(winhlp32 wine) 30 + target_link_libraries(winhlp32 wine oldnames) 31 31 add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll) 32 32 add_pch(winhlp32 precomp.h "${PCH_SKIP_SOURCE}") 33 33 add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
+2
base/services/nfsd/CMakeLists.txt
··· 56 56 target_compile_options(nfsd PRIVATE "-w") 57 57 endif() 58 58 59 + target_link_libraries(nfsd oldnames) 60 + 59 61 set_module_type(nfsd win32cui) 60 62 add_importlibs(nfsd advapi32 iphlpapi kernel32_vista libtirpc msvcrt shell32 ws2_32 wldap32 kernel32 ntdll) 61 63 add_pch(nfsd precomp.h SOURCE)
+2
base/services/tftpd/CMakeLists.txt
··· 4 4 add_importlibs(tftpd advapi32 ws2_32 iphlpapi msvcrt kernel32) 5 5 add_cd_file(TARGET tftpd DESTINATION reactos/system32 FOR all) 6 6 7 + add_definitions(-Dstrcasecmp=_stricmp) 8 + 7 9 if (MSVC) 8 10 # Disable warning C4267: 'initializing': conversion from 'size_t' to 'unsigned short', possible loss of data 9 11 target_compile_options(tftpd PRIVATE /wd4267)
+1 -1
base/system/format/CMakeLists.txt
··· 4 4 5 5 add_executable(format format.c format.rc) 6 6 set_module_type(format win32cui UNICODE) 7 - target_link_libraries(format conutils ${PSEH_LIB}) 7 + target_link_libraries(format conutils ${PSEH_LIB} oldnames) 8 8 add_importlibs(format fmifs msvcrt kernel32 ntdll) 9 9 set_target_properties(format PROPERTIES SUFFIX ".com") 10 10 add_cd_file(TARGET format DESTINATION reactos/system32 FOR all)
+1
dll/directx/wine/d3dcompiler_43/CMakeLists.txt
··· 2 2 add_definitions( 3 3 -D__WINESRC__ 4 4 -D__ROS_LONG64__ 5 + -Dstrcasecmp=_stricmp 5 6 -DDIRECT3D_VERSION=0x0900) 6 7 7 8 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
+1 -1
dll/directx/wine/d3dx9_36/d3dx9.cmake
··· 39 39 add_definitions(-D__ROS_LONG64__) 40 40 set_module_type(${module} win32dll) 41 41 add_dependencies(${module} d3d_idl_headers) 42 - target_link_libraries(${module} dxguid wine) 42 + target_link_libraries(${module} dxguid wine oldnames) 43 43 add_importlibs(${module} d3dcompiler_43 d3dxof usp10 user32 ole32 gdi32 msvcrt kernel32 ntdll) 44 44 add_delay_importlibs(${module} windowscodecs) 45 45 add_pch(${module} ../d3dx9_36/precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/comctl32/CMakeLists.txt
··· 72 72 endif() 73 73 74 74 set_module_type(comctl32 win32dll UNICODE) 75 - target_link_libraries(comctl32 uuid wine ${PSEH_LIB}) 75 + target_link_libraries(comctl32 uuid wine ${PSEH_LIB} oldnames) 76 76 add_delay_importlibs(comctl32 winmm uxtheme) 77 77 add_importlibs(comctl32 user32 gdi32 advapi32 usp10 imm32 msvcrt kernel32 ntdll) 78 78 add_pch(comctl32 precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/comdlg32/CMakeLists.txt
··· 26 26 ${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def) 27 27 28 28 set_module_type(comdlg32 win32dll) 29 - target_link_libraries(comdlg32 uuid wine) 29 + target_link_libraries(comdlg32 uuid wine oldnames) 30 30 add_delay_importlibs(comdlg32 ole32) 31 31 add_importlibs(comdlg32 shell32 shlwapi comctl32 winspool user32 gdi32 advapi32 msvcrt kernel32 ntdll) 32 32 add_pch(comdlg32 precomp.h SOURCE)
+1 -1
dll/win32/credui/CMakeLists.txt
··· 10 10 11 11 add_library(credui MODULE ${SOURCE} credui.rc) 12 12 set_module_type(credui win32dll) 13 - target_link_libraries(credui wine) 13 + target_link_libraries(credui wine oldnames) 14 14 add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll) 15 15 add_cd_file(TARGET credui DESTINATION reactos/system32 FOR all)
+3 -1
dll/win32/crypt32/CMakeLists.txt
··· 6 6 -D__WINESRC__ 7 7 -D__ROS_LONG64__ 8 8 -D_WINE 9 - -D_CRYPT32_) 9 + -D_CRYPT32_ 10 + -Dstrncasecmp=_strnicmp 11 + ) 10 12 11 13 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 12 14 spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB)
+1 -1
dll/win32/cryptui/CMakeLists.txt
··· 13 13 14 14 add_library(cryptui MODULE ${SOURCE} cryptui.rc) 15 15 set_module_type(cryptui win32dll) 16 - target_link_libraries(cryptui uuid wine) 16 + target_link_libraries(cryptui uuid wine oldnames) 17 17 add_delay_importlibs(cryptui urlmon wintrust) 18 18 add_importlibs(cryptui user32 ole32 crypt32 gdi32 advapi32 comctl32 comdlg32 msvcrt kernel32 ntdll) 19 19 add_cd_file(TARGET cryptui DESTINATION reactos/system32 FOR all)
+1
dll/win32/fusion/CMakeLists.txt
··· 13 13 ${CMAKE_CURRENT_BINARY_DIR}/fusion_stubs.c) 14 14 15 15 add_library(fusion_common STATIC ${COMMON_SOURCE}) 16 + target_link_libraries(fusion_common oldnames) 16 17 add_dependencies(fusion_common psdk) 17 18 add_pch(fusion_common precomp.h COMMON_SOURCE) 18 19
+1 -1
dll/win32/fusion/fusion_1_1/CMakeLists.txt
··· 9 9 ${CMAKE_CURRENT_BINARY_DIR}/fusion.def) 10 10 11 11 set_module_type(fusion_1_1 win32dll) 12 - target_link_libraries(fusion_1_1 fusion_common uuid wine) 12 + target_link_libraries(fusion_1_1 fusion_common uuid wine oldnames) 13 13 set_target_properties(fusion_1_1 PROPERTIES OUTPUT_NAME "fusion" PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}") 14 14 add_importlibs(fusion_1_1 bcrypt advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll) 15 15 add_cd_file(TARGET fusion_1_1 DESTINATION reactos/Microsoft.NET/Framework/v1.1.4322 FOR all)
+1 -1
dll/win32/fusion/fusion_2_0/CMakeLists.txt
··· 9 9 ${CMAKE_CURRENT_BINARY_DIR}/fusion.def) 10 10 11 11 set_module_type(fusion_2_0 win32dll) 12 - target_link_libraries(fusion_2_0 fusion_common uuid wine) 12 + target_link_libraries(fusion_2_0 fusion_common uuid wine oldnames) 13 13 set_target_properties(fusion_2_0 PROPERTIES OUTPUT_NAME "fusion" PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}") 14 14 add_importlibs(fusion_2_0 bcrypt advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll) 15 15 add_cd_file(TARGET fusion_2_0 DESTINATION reactos/Microsoft.NET/Framework/v2.0.50727 FOR all)
+1 -1
dll/win32/hlink/CMakeLists.txt
··· 19 19 ${CMAKE_CURRENT_BINARY_DIR}/hlink.def) 20 20 21 21 set_module_type(hlink win32dll) 22 - target_link_libraries(hlink uuid wine) 22 + target_link_libraries(hlink uuid wine oldnames) 23 23 add_delay_importlibs(hlink urlmon) 24 24 add_importlibs(hlink shell32 ole32 advapi32 msvcrt kernel32 ntdll) 25 25 add_pch(hlink precomp.h "${PCH_SKIP_SOURCE}")
+5 -1
dll/win32/inseng/CMakeLists.txt
··· 2 2 remove_definitions(-D_WIN32_WINNT=0x502) 3 3 add_definitions(-D_WIN32_WINNT=0x600) 4 4 5 - add_definitions(-D__WINESRC__) 5 + add_definitions( 6 + -D__WINESRC__ 7 + -Dstrcasecmp=_stricmp 8 + -Dstrncasecmp=_strnicmp 9 + ) 6 10 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 7 11 spec2def(inseng.dll inseng.spec) 8 12
+1 -1
dll/win32/itss/CMakeLists.txt
··· 22 22 ${CMAKE_CURRENT_BINARY_DIR}/itss.def) 23 23 24 24 set_module_type(itss win32dll) 25 - target_link_libraries(itss uuid wine) 25 + target_link_libraries(itss uuid wine oldnames) 26 26 add_importlibs(itss urlmon shlwapi ole32 msvcrt kernel32 ntdll) 27 27 add_pch(itss precomp.h "${PCH_SKIP_SOURCE}") 28 28 add_dependencies(itss wineheaders)
+1 -1
dll/win32/jscript/CMakeLists.txt
··· 65 65 add_typelib(jsglobal.idl) 66 66 add_dependencies(jscript jscript_idlheader stdole2) 67 67 set_module_type(jscript win32dll) 68 - target_link_libraries(jscript uuid wine) 68 + target_link_libraries(jscript uuid wine oldnames) 69 69 add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll) 70 70 add_pch(jscript precomp.h "${PCH_SKIP_SOURCE}") 71 71 add_cd_file(TARGET jscript DESTINATION reactos/system32 FOR all)
+1 -1
dll/win32/mlang/CMakeLists.txt
··· 13 13 14 14 add_library(mlang MODULE ${SOURCE} mlang.rc) 15 15 set_module_type(mlang win32dll UNICODE) 16 - target_link_libraries(mlang uuid wine) 16 + target_link_libraries(mlang uuid wine oldnames) 17 17 add_delay_importlibs(mlang oleaut32) 18 18 add_importlibs(mlang gdi32 advapi32 msvcrt kernel32 ntdll) 19 19 add_cd_file(TARGET mlang DESTINATION reactos/system32 FOR all)
+1 -1
dll/win32/msacm32/CMakeLists.txt
··· 20 20 ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def) 21 21 22 22 set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE) 23 - target_link_libraries(msacm32 wine) 23 + target_link_libraries(msacm32 wine oldnames) 24 24 add_importlibs(msacm32 advapi32 user32 winmm msvcrt kernel32 ntdll) 25 25 add_pch(msacm32 precomp.h SOURCE) 26 26 add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
+4 -1
dll/win32/mshtml/CMakeLists.txt
··· 5 5 add_definitions( 6 6 -D__WINESRC__ 7 7 -D__ROS_LONG64__ 8 - -DCOM_NO_WINDOWS_H) 8 + -DCOM_NO_WINDOWS_H 9 + -Dstrcasecmp=_stricmp 10 + -Dstrncasecmp=_strnicmp 11 + ) 9 12 10 13 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 11 14 add_idl_headers(mshtml_nsiface_header nsiface.idl)
+1 -1
dll/win32/ole32/CMakeLists.txt
··· 88 88 endif() 89 89 90 90 set_module_type(ole32 win32dll) 91 - target_link_libraries(ole32 wine uuid ${PSEH_LIB}) 91 + target_link_libraries(ole32 wine uuid ${PSEH_LIB} oldnames) 92 92 add_delay_importlibs(ole32 oleaut32) 93 93 add_importlibs(ole32 advapi32 user32 gdi32 rpcrt4 msvcrt kernel32 kernel32_vista ntdll) 94 94 add_dependencies(ole32 ole32idl)
+1 -1
dll/win32/oleacc/CMakeLists.txt
··· 39 39 40 40 add_dependencies(oleacc oleacc_idlheader stdole2) 41 41 set_module_type(oleacc win32dll) 42 - target_link_libraries(oleacc uuid wine ${PSEH_LIB}) 42 + target_link_libraries(oleacc uuid wine ${PSEH_LIB} oldnames) 43 43 add_importlibs(oleacc oleaut32 ole32 user32 rpcrt4 msvcrt kernel32 ntdll) 44 44 add_pch(oleacc precomp.h "${PCH_SKIP_SOURCE}") 45 45 add_cd_file(TARGET oleacc DESTINATION reactos/system32 FOR all)
+1 -1
dll/win32/oleaut32/CMakeLists.txt
··· 58 58 add_idl_headers(oleaut32_idlheader oleaut32_oaidl.idl) 59 59 add_dependencies(oleaut32 oleaut32_idlheader) 60 60 set_module_type(oleaut32 win32dll) 61 - target_link_libraries(oleaut32 wine wineldr uuid ${PSEH_LIB}) 61 + target_link_libraries(oleaut32 wine wineldr uuid ${PSEH_LIB} oldnames) 62 62 add_delay_importlibs(oleaut32 comctl32 urlmon windowscodecs) 63 63 add_importlibs(oleaut32 ole32 rpcrt4 user32 gdi32 advapi32 kernel32_vista msvcrt kernel32 ntdll) 64 64 add_pch(oleaut32 precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/rpcrt4/CMakeLists.txt
··· 64 64 endif() 65 65 66 66 set_module_type(rpcrt4 win32dll) 67 - target_link_libraries(rpcrt4 wine uuid ${PSEH_LIB}) 67 + target_link_libraries(rpcrt4 wine uuid ${PSEH_LIB} oldnames) 68 68 add_delay_importlibs(rpcrt4 iphlpapi wininet secur32 user32 oleaut32) 69 69 add_importlibs(rpcrt4 advapi32 advapi32_vista kernel32_vista ws2_32 msvcrt kernel32 ntdll) 70 70 add_dependencies(rpcrt4 ndr_types_header)
+1 -1
dll/win32/scrrun/CMakeLists.txt
··· 29 29 30 30 add_dependencies(scrrun scrrun_idlheader stdole2) 31 31 set_module_type(scrrun win32dll) 32 - target_link_libraries(scrrun uuid wine) 32 + target_link_libraries(scrrun uuid wine oldnames) 33 33 add_importlibs(scrrun oleaut32 version advapi32 msvcrt kernel32 ntdll) 34 34 add_pch(scrrun precomp.h "${PCH_SKIP_SOURCE}") 35 35 add_cd_file(TARGET scrrun DESTINATION reactos/system32 FOR all)
+2 -2
dll/win32/setupapi/CMakeLists.txt
··· 7 7 add_definitions( 8 8 -D_SETUPAPI_ 9 9 -D_CFGMGR32_ 10 - -Dwcsnicmp=_wcsnicmp) 10 + ) 11 11 12 12 add_rpc_files(client ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/pnp.idl) 13 13 spec2def(setupapi.dll setupapi.spec ADD_IMPORTLIB) ··· 42 42 ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def) 43 43 44 44 set_module_type(setupapi win32dll UNICODE) 45 - target_link_libraries(setupapi uuid wine ${PSEH_LIB}) 45 + target_link_libraries(setupapi uuid wine ${PSEH_LIB} oldnames) 46 46 add_delay_importlibs(setupapi comdlg32 shell32 winspool.drv wintrust) 47 47 add_importlibs(setupapi gdi32 comctl32 advapi32 user32 rpcrt4 version msvcrt kernel32 ntdll) 48 48 add_pch(setupapi setupapi_private.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/urlmon/CMakeLists.txt
··· 50 50 ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def) 51 51 52 52 set_module_type(urlmon win32dll) 53 - target_link_libraries(urlmon uuid wine ${PSEH_LIB}) 53 + target_link_libraries(urlmon uuid wine ${PSEH_LIB} oldnames) 54 54 add_delay_importlibs(urlmon advpack) 55 55 add_importlibs(urlmon rpcrt4 propsys ole32 oleaut32 shlwapi shell32 wininet user32 advapi32 kernel32_vista msvcrt kernel32 ntdll) 56 56 add_pch(urlmon precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/vbscript/CMakeLists.txt
··· 45 45 endif() 46 46 47 47 set_module_type(vbscript win32dll) 48 - target_link_libraries(vbscript uuid wine) 48 + target_link_libraries(vbscript uuid wine oldnames) 49 49 add_importlibs(vbscript oleaut32 ole32 user32 msvcrt kernel32 ntdll) 50 50 add_dependencies(vbscript vbscript_idlheader stdole2) 51 51 add_pch(vbscript precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/version/CMakeLists.txt
··· 9 9 10 10 add_library(version MODULE ${SOURCE} version.rc) 11 11 set_module_type(version win32dll) 12 - target_link_libraries(version wine) 12 + target_link_libraries(version wine oldnames) 13 13 add_importlibs(version msvcrt kernel32 ntdll) 14 14 add_cd_file(TARGET version DESTINATION reactos/system32 FOR all)
+1 -1
dll/win32/wbemdisp/CMakeLists.txt
··· 27 27 ${CMAKE_CURRENT_BINARY_DIR}/wbemdisp.def) 28 28 29 29 set_module_type(wbemdisp win32dll) 30 - target_link_libraries(wbemdisp uuid wine) 30 + target_link_libraries(wbemdisp uuid wine oldnames) 31 31 add_dependencies(wbemdisp stdole2 wbemdisp_idlheader) 32 32 add_importlibs(wbemdisp oleaut32 ole32 msvcrt kernel32 ntdll) 33 33 add_pch(wbemdisp precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/wbemprox/CMakeLists.txt
··· 34 34 35 35 set_source_files_properties(wbemprox.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/wbemprox.rgs) 36 36 set_module_type(wbemprox win32dll) 37 - target_link_libraries(wbemprox uuid wine) 37 + target_link_libraries(wbemprox uuid wine oldnames) 38 38 add_importlibs(wbemprox iphlpapi oleaut32 advapi32 user32 gdi32 version winspool ws2_32 rpcrt4 setupapi msvcrt kernel32 ntdll) 39 39 add_dependencies(wbemprox d3d_idl_headers) 40 40 add_pch(wbemprox precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/winmm/CMakeLists.txt
··· 29 29 endif() 30 30 31 31 set_module_type(winmm win32dll) 32 - target_link_libraries(winmm wine ${PSEH_LIB}) 32 + target_link_libraries(winmm wine ${PSEH_LIB} oldnames) 33 33 add_importlibs(winmm advapi32 user32 msvcrt kernel32 ntdll) 34 34 add_pch(winmm winemm.h SOURCE) 35 35 add_cd_file(TARGET winmm DESTINATION reactos/system32 FOR all)
+1 -1
dll/win32/wshom.ocx/CMakeLists.txt
··· 29 29 30 30 set_source_files_properties(wshom.rc PROPERTIES OBJECT_DEPENDS "${wshom_rc_deps}") 31 31 set_module_type(wshom win32ocx) 32 - target_link_libraries(wshom uuid wine) 32 + target_link_libraries(wshom uuid wine oldnames) 33 33 add_importlibs(wshom oleaut32 ole32 shell32 advapi32 advapi32_vista user32 msvcrt kernel32 ntdll) 34 34 add_dependencies(wshom stdole2 wshom_idlheader) 35 35 add_pch(wshom precomp.h "${PCH_SKIP_SOURCE}")
+1 -1
dll/win32/xmllite/CMakeLists.txt
··· 21 21 endif() 22 22 23 23 set_module_type(xmllite win32dll) 24 - target_link_libraries(xmllite uuid wine) 24 + target_link_libraries(xmllite uuid wine oldnames) 25 25 add_importlibs(xmllite msvcrt kernel32 ntdll) 26 26 add_pch(xmllite precomp.h SOURCE) 27 27 add_cd_file(TARGET xmllite DESTINATION reactos/system32 FOR all)
+4 -1
modules/rostests/winetests/inetcomm/CMakeLists.txt
··· 1 1 2 - add_definitions(-DUSE_WINE_TODOS) 2 + add_definitions( 3 + -DUSE_WINE_TODOS 4 + -Dstrcasecmp=_stricmp 5 + ) 3 6 4 7 list(APPEND SOURCE 5 8 mimeintl.c
+4
modules/rostests/winetests/kernel32/CMakeLists.txt
··· 3 3 remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502) 4 4 add_definitions(-DWINVER=0x600 -D_WIN32_WINNT=0x601) 5 5 6 + add_definitions( 7 + -Dstrcasecmp=_stricmp 8 + ) 9 + 6 10 list(APPEND SOURCE 7 11 actctx.c 8 12 atom.c
+1 -1
modules/rostests/winetests/msi/CMakeLists.txt
··· 43 43 generate_idl_iids(typelib.idl) 44 44 add_typelib(typelib.idl) 45 45 46 - target_compile_definitions(msi_winetest PRIVATE __WINESRC__ USE_WINE_TODOS) 46 + target_compile_definitions(msi_winetest PRIVATE __WINESRC__ USE_WINE_TODOS strcasecmp=_stricmp) 47 47 48 48 if(CMAKE_C_COMPILER_ID STREQUAL "GNU") 49 49 target_compile_options(msi_winetest PRIVATE -Wno-format-overflow -Wno-format)
+3 -1
modules/rostests/winetests/oleaut32/CMakeLists.txt
··· 3 3 -D__WINESRC__ 4 4 -DUSE_WINE_TODOS 5 5 -DWINETEST_USE_DBGSTR_LONGLONG 6 - -D_USE_MATH_DEFINES) 6 + -D_USE_MATH_DEFINES 7 + -Dstrcasecmp=_stricmp 8 + ) 7 9 8 10 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 9 11 add_typelib(test_reg.idl test_tlb.idl tmarshal.idl)
+5
modules/rostests/winetests/setupapi/CMakeLists.txt
··· 1 + 2 + add_definitions( 3 + -D__WINESRC__ 4 + -Dstrcasecmp=_stricmp 5 + ) 1 6 2 7 list(APPEND SOURCE 3 8 devinst.c
+4 -1
modules/rostests/winetests/shell32/CMakeLists.txt
··· 1 1 2 - add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG) 2 + add_definitions( 3 + -DWINETEST_USE_DBGSTR_LONGLONG 4 + -Dstrcasecmp=_stricmp 5 + ) 3 6 4 7 remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502) 5 8
+1
modules/rostests/winetests/userenv/CMakeLists.txt
··· 1 1 2 2 add_executable(userenv_winetest userenv.c testlist.c) 3 3 set_module_type(userenv_winetest win32cui) 4 + target_link_libraries(userenv_winetest oldnames) 4 5 add_importlibs(userenv_winetest userenv advapi32 msvcrt kernel32) 5 6 add_rostests_file(TARGET userenv_winetest)
+3 -4
sdk/lib/3rdparty/libmpg123/CMakeLists.txt
··· 5 5 -DNOXFERMEM 6 6 -DHAVE_CONFIG_H 7 7 -DEOVERFLOW=75 8 - -Dlseek=_lseek 9 - -Dread=_read 10 - -Dstrdup=_strdup 11 - -D_CRT_NONSTDC_NO_DEPRECATE 8 + -Dstrcasecmp=_stricmp 9 + -Dstrncasecmp=_strnicmp 12 10 -D_DLL -D__USE_CRTIMP 13 11 -D_CRT_NO_POSIX_ERROR_CODES) 14 12 ··· 48 46 ${SOURCE} 49 47 ${PCH_SKIP_SOURCE}) 50 48 49 + target_link_libraries(libmpg123 oldnames) 51 50 add_dependencies(libmpg123 psdk) 52 51 add_pch(libmpg123 precomp.h "${PCH_SKIP_SOURCE}")
+2
sdk/lib/crt/locale/locale.c
··· 31 31 #error _pctype should not be defined 32 32 #endif 33 33 34 + #define strcasecmp _stricmp 35 + #define strncasecmp _strnicmp 34 36 unsigned int __lc_codepage = 0; 35 37 int MSVCRT___lc_collate_cp = 0; 36 38 LCID MSVCRT___lc_handle[LC_MAX - LC_MIN + 1] = { 0 };