https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cd9f9e8b949e58b8f7c3f6...
commit cd9f9e8b949e58b8f7c3f608b04c38e01576d223 Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Mon Apr 29 09:56:29 2019 +0200 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Sat Jul 20 13:56:18 2019 +0200
[CMAKE] Globally enable secure CRT functions
"This is what Windows does" (tm) --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt index d7bf0a55574..52193933fa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,7 +167,8 @@ else() -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502 -D_WIN32_WINDOWS=0x502 - -D_SETUPAPI_VER=0x502) + -D_SETUPAPI_VER=0x502 + -DMINGW_HAS_SECURE_API=1)
# Arch Options if(ARCH STREQUAL "i386")