Skip to content

Commit

Permalink
miniaudio_engine: include immintrin.h on x86
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  • Loading branch information
tycho committed Jun 6, 2023
1 parent a55d521 commit ad4cd53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions miniaudio_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#define MA_NO_AVX2
#define MA_NO_NEON

#if defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || defined(_M_X64)
#include <immintrin.h>
#endif

#if defined(USE_OGGVORBIS)

#define MA_NO_VORBIS
Expand Down

0 comments on commit ad4cd53

Please sign in to comment.