Disable MSVC idiocy.

This commit is contained in:
Bartosz Taudul 2020-01-20 22:49:03 +01:00
parent 46dc85c10c
commit 6f31eb2a9d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
#ifdef _MSC_VER
# pragma warning(disable:4996)
#endif
namespace tracy namespace tracy
{ {

View File

@ -6,6 +6,9 @@
# define NOMINMAX # define NOMINMAX
# endif # endif
#endif #endif
#ifdef _MSC_VER
# pragma warning(disable:4996)
#endif
#if defined _WIN32 || defined __CYGWIN__ #if defined _WIN32 || defined __CYGWIN__
# include <windows.h> # include <windows.h>
#else #else