fix checks

This commit is contained in:
neargye 2021-04-03 00:32:17 +03:00
parent df0ea27383
commit fb480caab2

View file

@ -95,7 +95,7 @@
#endif #endif
// Checks nameof_member compiler compatibility. // Checks nameof_member compiler compatibility.
#if defined(__clang__) && __clang_major__ >= 5 || defined(__GNUC__) && __GNUC__ >= 7 #if (defined(__clang__) && __clang_major__ >= 5 || defined(__GNUC__) && __GNUC__ >= 7) && !defined(_MSC_VER)
# undef NAMEOF_MEMBER_SUPPORTED # undef NAMEOF_MEMBER_SUPPORTED
# define NAMEOF_MEMBER_SUPPORTED 1 # define NAMEOF_MEMBER_SUPPORTED 1
#endif #endif