Fix LTC_FALLTHROUGH related error reported by MSVC compiler

This commit is contained in:
Karel Miko 2026-07-30 16:01:06 +02:00
parent 79f2b5762d
commit 23fca6ed39

View file

@ -415,6 +415,9 @@ typedef unsigned long ltc_mp_digit;
#if __has_attribute(fallthrough)
# define LTC_FALLTHROUGH LTC_ATTRIBUTE((fallthrough))
#endif
#ifndef LTC_FALLTHROUGH
# define LTC_FALLTHROUGH
#endif
#if __has_attribute(target)
# define LTC_TARGET(x) LTC_ATTRIBUTE((target(x)))
#endif