1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-13 22:48:50 -05:00

add _CRT_SECURE_NO_WARNINGS check

This commit is contained in:
Evan Pezent 2020-05-10 13:04:34 -05:00
parent c6e840d998
commit ef712c1ea8
2 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,10 @@
// ImPlot v0.1 WIP
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS
#endif
#ifdef _MSC_VER
#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen
#endif

View File

@ -22,6 +22,10 @@
// ImPlot v0.1 WIP
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS
#endif
#ifdef _MSC_VER
#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen
#endif