1 parent b0a9ec1 commit d31ba2cCopy full SHA for d31ba2c
1 file changed
libdivide.h
@@ -153,6 +153,11 @@ namespace libdivide {
153
154
#if defined(_MSC_VER) && !defined(__clang__)
155
156
+// Required for C programming language
157
+#ifndef LIBDIVIDE_CONSTEXPR_INLINE
158
+ #define LIBDIVIDE_CONSTEXPR_INLINE LIBDIVIDE_INLINE
159
+#endif
160
+
161
static LIBDIVIDE_CONSTEXPR_INLINE int __builtin_clz(unsigned x) {
162
#if defined(LIBDIVIDE_VC_CXX20)
163
if (std::is_constant_evaluated()) {
0 commit comments