Skip to content

Commit

Permalink
ChafaWorkCell: Use potentially undefined macro correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
hpjansson committed May 30, 2024
1 parent 5e9a6ea commit 8cb7d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chafa/internal/chafa-work-cell.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ chafa_work_cell_get_mean_colors_for_symbol (const ChafaWorkCell *wcell, const Ch
if (chafa_have_avx2 ())
calc_colors_avx2 (wcell->pixels, accums, sym->mask_u32);
else
#elif HAVE_MMX_INTRINSICS
#elif defined(HAVE_MMX_INTRINSICS)
if (chafa_have_mmx ())
calc_colors_mmx (wcell->pixels, accums, covp);
else
Expand Down

0 comments on commit 8cb7d4d

Please sign in to comment.