Skip to content

Commit b441b7e

Browse files
committed
🛠 Properly balanced, unlike my rage at MSVC
1 parent 7a8a861 commit b441b7e

File tree

1 file changed

+3
-0
lines changed
  • include/ztd/version/detail

1 file changed

+3
-0
lines changed

‎include/ztd/version/detail/is.h

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@
9999
#if defined(_MSC_VER) && _MSC_FULL_VER > 196000000
100100
// Assume Microsoft will get their shit together in a couple major versions
101101
#define ZTD_HAS_ATTRIBUTE_I_(...) 0L
102+
#else
103+
#define ZTD_HAS_ATTRIBUTE_I_(...) __has_attribute(__VA_ARGS__)
104+
#endif
102105
#elif defined(__has_attribute)
103106
#define ZTD_HAS_ATTRIBUTE_I_(...) __has_attribute(__VA_ARGS__)
104107
#else

0 commit comments

Comments
 (0)