Skip to content

Commit

Permalink
Merge pull request #2447 from johnplatts:hwy_gcc9_fix_011725
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 717451768
  • Loading branch information
copybara-github committed Jan 20, 2025
2 parents a811732 + 758ec70 commit a372d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwy/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
#define HWY_NORETURN __attribute__((noreturn))
#define HWY_LIKELY(expr) __builtin_expect(!!(expr), 1)
#define HWY_UNLIKELY(expr) __builtin_expect(!!(expr), 0)
#if HWY_COMPILER_GCC || __has_builtin(__builtin_unreachable)
#if HWY_COMPILER_GCC || HWY_HAS_BUILTIN(__builtin_unreachable)
#define HWY_UNREACHABLE __builtin_unreachable()
#else
#define HWY_UNREACHABLE
Expand Down

0 comments on commit a372d95

Please sign in to comment.