From 5666ea2061b3efacd4c44a3a53836567a2441dcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 21 Jul 2019 01:06:54 +0200 Subject: [PATCH] [MSCONFIG][ROSAPPS] Remove explicit MINGW_HAS_SECURE_API since it is already enabled globally. CORE-16224 --- base/applications/msconfig_new/precomp.h | 5 ----- .../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 #include 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 #include #include -- 2.17.1