Merge pull request #34421 from Chaosus/fix_strcpy_warning

Fix build warning in ustring.cpp on Windows/MSVC platform
This commit is contained in:
Rémi Verschelde 2019-12-19 12:19:45 +01:00 committed by GitHub
commit 791c84bbbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,10 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS // to disable build-time warning which suggested to use strcpy_s instead strcpy
#endif
#include "ustring.h"
#include "core/color.h"