summaryrefslogtreecommitdiffhomepage
path: root/src/external
diff options
context:
space:
mode:
Diffstat (limited to 'src/external')
-rw-r--r--src/external/mini_al.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/external/mini_al.c b/src/external/mini_al.c
index 2ea2cc6b..7b437851 100644
--- a/src/external/mini_al.c
+++ b/src/external/mini_al.c
@@ -1,2 +1,4 @@
+// The implementation of mini_al needs to #include windows.h which means it needs to go into
+// it's own translation unit. Not doing this will cause conflicts with CloseWindow(), etc.
#define MAL_IMPLEMENTATION
-#include "mini_al.h" // <-- The implementation of mini_al.h #includes windows.h, so need to #undef some stuff. \ No newline at end of file
+#include "mini_al.h" \ No newline at end of file