https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5666ea2061b3efacd4c44a...
commit 5666ea2061b3efacd4c44a3a53836567a2441dcb Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Sun Jul 21 01:06:54 2019 +0200 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Sun Jul 21 01:06:54 2019 +0200
[MSCONFIG][ROSAPPS] Remove explicit MINGW_HAS_SECURE_API since it is already enabled globally. CORE-16224 --- base/applications/msconfig_new/precomp.h | 5 ----- modules/rosapps/applications/devutils/createspec/createspec.c | 1 - 2 files changed, 6 deletions(-)
diff --git a/base/applications/msconfig_new/precomp.h b/base/applications/msconfig_new/precomp.h index afa23d0a941..5fe9ad206c7 100644 --- a/base/applications/msconfig_new/precomp.h +++ b/base/applications/msconfig_new/precomp.h @@ -1,11 +1,6 @@ #ifndef _MSCONFIG_PCH_ #define _MSCONFIG_PCH_
-// NOTE: It is completely idiotic to need those defines defined -// for having the *_s string functions. In the MS CRT they are -// directly available without further tricks. -#define MINGW_HAS_SECURE_API 1 - #include <assert.h>
#include <stdarg.h> diff --git a/modules/rosapps/applications/devutils/createspec/createspec.c b/modules/rosapps/applications/devutils/createspec/createspec.c index 0c0600d387d..9f5de70a4a7 100644 --- a/modules/rosapps/applications/devutils/createspec/createspec.c +++ b/modules/rosapps/applications/devutils/createspec/createspec.c @@ -8,7 +8,6 @@ - Resolve forwarders
*/ -#define MINGW_HAS_SECURE_API #include <stdio.h> #include <stdlib.h> #include <windows.h>