File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
api/include/opentelemetry/common Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1919# define OPENTELEMETRY_MAYBE_UNUSED __attribute__ ((unused))
2020#elif defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
2121# define OPENTELEMETRY_MAYBE_UNUSED __attribute__ ((unused))
22- #elif defined(_MSC_VER) && _MSC_VER >= 1700 // vs 2012 or higher
23- # if _MSC_VER >= 1910 && defined(_MSVC_LANG) && _MSVC_LANG >= 201703L
24- # define OPENTELEMETRY_MAYBE_UNUSED [[maybe_unused]]
25- # else
26- # define OPENTELEMETRY_MAYBE_UNUSED
27- # endif
22+ #elif (defined(_MSC_VER) && _MSC_VER >= 1910) && (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
23+ # define OPENTELEMETRY_MAYBE_UNUSED [[maybe_unused]]
2824#else
2925# define OPENTELEMETRY_MAYBE_UNUSED
3026#endif
You can’t perform that action at this time.
0 commit comments