mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-05-24 17:55:13 -04:00
minor: Fix fallthrough attribute for other compilers
This commit is contained in:
@@ -231,8 +231,10 @@ int atoi_time(char const *str, char const *error_hint)
|
||||
break;
|
||||
}
|
||||
// intentional fallthrough
|
||||
#if (defined(__GNUC__) || defined(__clang__)) && __has_attribute(fallthrough)
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#if __has_attribute(fallthrough)
|
||||
__attribute__((fallthrough));
|
||||
#endif
|
||||
#endif
|
||||
case ':':
|
||||
++colons;
|
||||
|
||||
Reference in New Issue
Block a user