summaryrefslogtreecommitdiff
path: root/src/audio/ma_impl.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-04-29 21:41:26 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-04-29 21:41:26 -0400
commit9fb5935d081e0dcac8b483d95344207e216cc998 (patch)
tree80f7422e4b78b821b33163e759ce99d42b135d04 /src/audio/ma_impl.cpp
parentd30be3326d43aa57760fdcbc6b4021b3570dc4a3 (diff)
downloadabaddon-portaudio-9fb5935d081e0dcac8b483d95344207e216cc998.tar.gz
abaddon-portaudio-9fb5935d081e0dcac8b483d95344207e216cc998.zip
include guard miniaudio
Diffstat (limited to 'src/audio/ma_impl.cpp')
-rw-r--r--src/audio/ma_impl.cpp6
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