You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#define_mi_memcpy_inline(x, y, s) __builtin_memcpy_inline(x, y, s)
173
+
#else
174
+
#define_mi_memcpy_inline(x, y, s) do { _Static_assert(__builtin_choose_expr(__builtin_constant_p(s), 1, 0), "`_mi_memcpy_inline` must be a constant integer"); memcpy(x, y, s); } while (0)
175
+
#endif
176
+
177
+
#if __has_builtin(__builtin_memset_inline)
178
+
#define_mi_memset_inline(x, y, s) __builtin_memset_inline(x, y, s)
179
+
#else
180
+
#define_mi_memset_inline(x, y, s) do { _Static_assert(__builtin_choose_expr(__builtin_constant_p(s), 1, 0), "`_mi_memset_inline` must be a constant integer"); memset(x, y, s); } while (0)
0 commit comments