Skip to content

Commit d2dc935

Browse files
committed
[CMAKE] Remove obsolete remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
1 parent b13e568 commit d2dc935

23 files changed

Lines changed: 5 additions & 33 deletions

File tree

base/system/msiexec/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
3-
42
list(APPEND SOURCE
53
msiexec.c
64
service.c

dll/win32/combase/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS -D_WIN32_WINNT=0x502)
2+
remove_definitions(-D_WIN32_WINNT=0x502)
33
add_definitions(-D_WIN32_WINNT=0x600)
44
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/wine)
55

dll/win32/coml2/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
32
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/wine)
43
spec2def(coml2.dll coml2.spec ADD_IMPORTLIB)
54

dll/win32/msi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
remove_definitions(-D_WIN32_WINNT=0x502 -D_CRT_NON_CONFORMING_SWPRINTFS)
2+
remove_definitions(-D_WIN32_WINNT=0x502)
33
add_definitions(-D_WIN32_WINNT=0x600)
44

55
add_definitions(-D__WINESRC__ -DMSIRUNMODE=MSIRUNMODE_T)

dll/win32/msvcrt/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
# Global compile options
44
###############################################################################
55

6-
# Use conforming swprintfs
7-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
8-
96
# This requires NT6
107
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
118
add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)

dll/win32/ole32/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
remove_definitions(-D_WIN32_WINNT=0x502 -D_CRT_NON_CONFORMING_SWPRINTFS)
2+
remove_definitions(-D_WIN32_WINNT=0x502)
33
add_definitions(-D_WIN32_WINNT=0x600)
44

55
add_definitions(

dll/win32/propsys/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
32
add_definitions(-D_PROPSYS_)
43
spec2def(propsys.dll propsys.spec ADD_IMPORTLIB)
54

dll/win32/riched20/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
32
spec2def(riched20.dll riched20.spec ADD_IMPORTLIB)
43

54
list(APPEND SOURCE

dll/win32/ucrtbase/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ list(REMOVE_ITEM INCLUDE_DIRS "${REACTOS_SOURCE_DIR}/sdk/include/crt")
77
set_property(DIRECTORY . PROPERTY INCLUDE_DIRECTORIES ${INCLUDE_DIRS})
88
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/ucrt)
99

10-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
11-
1210
add_compile_definitions(
1311
_UCRT
1412
_CORECRT_BUILD

dll/win32/windowscodecs/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ add_definitions(
55
-DWINE_REGISTER_DLL)
66

77
remove_definitions(-D_WIN32_WINNT=0x502)
8-
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
98
add_definitions(-D_WIN32_WINNT=0x600)
109

1110
include_directories(

0 commit comments

Comments
 (0)