fix checks
This commit is contained in:
parent
df0ea27383
commit
fb480caab2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue