We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a8a861 commit b441b7eCopy full SHA for b441b7e
‎include/ztd/version/detail/is.h
@@ -99,6 +99,9 @@
99
#if defined(_MSC_VER) && _MSC_FULL_VER > 196000000
100
// Assume Microsoft will get their shit together in a couple major versions
101
#define ZTD_HAS_ATTRIBUTE_I_(...) 0L
102
+#else
103
+ #define ZTD_HAS_ATTRIBUTE_I_(...) __has_attribute(__VA_ARGS__)
104
+#endif
105
#elif defined(__has_attribute)
106
#define ZTD_HAS_ATTRIBUTE_I_(...) __has_attribute(__VA_ARGS__)
107
#else
0 commit comments