[CMAKE] Remove obsolete remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)

This commit is contained in:
Timo Kreuzer
2026-02-23 18:29:31 +02:00
parent b13e568d99
commit d2dc9355ab
23 changed files with 5 additions and 33 deletions

View File

@@ -1,6 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
list(APPEND SOURCE
msiexec.c
service.c

View File

@@ -1,5 +1,5 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS -D_WIN32_WINNT=0x502)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/wine)

View File

@@ -1,5 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/wine)
spec2def(coml2.dll coml2.spec ADD_IMPORTLIB)

View File

@@ -1,5 +1,5 @@
remove_definitions(-D_WIN32_WINNT=0x502 -D_CRT_NON_CONFORMING_SWPRINTFS)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-D__WINESRC__ -DMSIRUNMODE=MSIRUNMODE_T)

View File

@@ -3,9 +3,6 @@
# Global compile options
###############################################################################
# Use conforming swprintfs
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
# This requires NT6
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)

View File

@@ -1,5 +1,5 @@
remove_definitions(-D_WIN32_WINNT=0x502 -D_CRT_NON_CONFORMING_SWPRINTFS)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(

View File

@@ -1,5 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
add_definitions(-D_PROPSYS_)
spec2def(propsys.dll propsys.spec ADD_IMPORTLIB)

View File

@@ -1,5 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
spec2def(riched20.dll riched20.spec ADD_IMPORTLIB)
list(APPEND SOURCE

View File

@@ -7,8 +7,6 @@ list(REMOVE_ITEM INCLUDE_DIRS "${REACTOS_SOURCE_DIR}/sdk/include/crt")
set_property(DIRECTORY . PROPERTY INCLUDE_DIRECTORIES ${INCLUDE_DIRS})
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/ucrt)
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
add_compile_definitions(
_UCRT
_CORECRT_BUILD

View File

@@ -5,7 +5,6 @@ add_definitions(
-DWINE_REGISTER_DLL)
remove_definitions(-D_WIN32_WINNT=0x502)
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(

View File

@@ -1,5 +1,5 @@
remove_definitions(-D_WIN32_WINNT=0x502 -D_CRT_NON_CONFORMING_SWPRINTFS)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(

View File

@@ -1,6 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
spec2def(wintrust.dll wintrust.spec ADD_IMPORTLIB)
list(APPEND SOURCE

View File

@@ -1,6 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
list(APPEND SOURCE
Fraginator.cpp
MainDialog.cpp

View File

@@ -1,7 +1,6 @@
add_definitions(-D__ROS_LONG64__)
add_definitions(-DUSE_WINE_TODOS)
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/wine)
spec2def(wine.combase.test.dll wine.combase.test.spec)

View File

@@ -1,6 +1,6 @@
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/wine)
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502 -D_CRT_NON_CONFORMING_SWPRINTFS)
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
add_definitions(-DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 -DNTDDI_VERSION=0x0A000007)
# Comment this block out if you want to debug the heap issue with these tests on ROS x64. ROSTESTS-415

View File

@@ -1,5 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
add_definitions(-DUSE_WINE_TODOS)
add_executable(mscoree_winetest

View File

@@ -1,6 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
list(APPEND SOURCE
cpp.c
data.c

View File

@@ -1,6 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
add_definitions(-DUSE_WINE_TODOS)
list(APPEND SOURCE

View File

@@ -1,6 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
add_definitions(-DUSE_WINE_TODOS)
list(APPEND SOURCE

View File

@@ -1,6 +1,5 @@
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/wine)
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
add_definitions(-D__WINESRC__ -DWINETEST_USE_DBGSTR_LONGLONG)
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)

View File

@@ -1,5 +1,4 @@
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)

View File

@@ -2,8 +2,6 @@
remove_definitions(-DWINVER=0x502 -D_WIN32_WINNT=0x502)
add_definitions(-DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 -DNTDDI_VERSION=0x0A000005)
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
list(APPEND SOURCE
broadcast.c
class.c

View File

@@ -1,6 +1,5 @@
add_definitions(-DUSE_WINE_TODOS)
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
list(APPEND SOURCE
notification.c