diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-04-29 21:41:26 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-04-29 21:41:26 -0400 |
commit | 9fb5935d081e0dcac8b483d95344207e216cc998 (patch) | |
tree | 80f7422e4b78b821b33163e759ce99d42b135d04 /src/audio | |
parent | d30be3326d43aa57760fdcbc6b4021b3570dc4a3 (diff) | |
download | abaddon-portaudio-9fb5935d081e0dcac8b483d95344207e216cc998.tar.gz abaddon-portaudio-9fb5935d081e0dcac8b483d95344207e216cc998.zip |
include guard miniaudio
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/ma_impl.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/audio/ma_impl.cpp b/src/audio/ma_impl.cpp index 662e2b2..a83ddaf 100644 --- a/src/audio/ma_impl.cpp +++ b/src/audio/ma_impl.cpp @@ -1,2 +1,4 @@ -#define MINIAUDIO_IMPLEMENTATION -#include <miniaudio.h> +#ifdef WITH_MINIAUDIO + #define MINIAUDIO_IMPLEMENTATION + #include <miniaudio.h> +#endif |