mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
Fix LTC_FALLTHROUGH related error reported by MSVC compiler
This commit is contained in:
parent
79f2b5762d
commit
23fca6ed39
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue