Merge pull request #34421 from Chaosus/fix_strcpy_warning
Fix build warning in ustring.cpp on Windows/MSVC platform
This commit is contained in:
commit
791c84bbbb
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue