diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2019-12-18 11:35:17 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2019-12-18 17:40:51 +0300 |
commit | 8674655a452d846c8bbb778f82c8daa1aa25db93 (patch) | |
tree | 51a5bdd94a362ca4ef41426e54208af05d0018c4 | |
parent | d1bce5c679bd77b50ddae2c3841e5157c6a0b917 (diff) |
Fix build warning in ustring.cpp on Windows/MSVC platform
-rw-r--r-- | core/ustring.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp index 345db0eb13..502e6a5a88 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -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" |