Define STRSAFE_NO_DEPRECATE for both clang and gcc mingw-w64

This commit is contained in:
Long Nguyen 2022-07-15 18:00:53 +07:00
parent 139c443770
commit 199c2d2fd0

View File

@ -90,8 +90,11 @@ Thanks to:
#if defined(__clang__) // clang or MSVC clang
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#elif defined(__GNUC__) // MinGW
#elif defined(__GNUC__) // gcc
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif
#ifdef __MINGW32__
#define STRSAFE_NO_DEPRECATE
#endif