aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index c86d7260..2a443b74 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -92,6 +92,9 @@
#ifdef HAVE_DSOUND
#include "backends/dsound.h"
#endif
+#ifdef HAVE_WINMM
+#include "backends/winmm.h"
+#endif
#ifdef HAVE_SDL2
#include "backends/sdl2.h"
#endif
@@ -144,9 +147,10 @@ struct BackendInfo BackendList[] = {
#ifdef HAVE_DSOUND
{ "dsound", DSoundBackendFactory::getFactory },
#endif
-
+#ifdef HAVE_WINMM
+ { "winmm", WinMMBackendFactory::getFactory },
+#endif
#if 0
- { "winmm", ALCwinmmBackendFactory_getFactory },
{ "port", ALCportBackendFactory_getFactory },
#endif /* 0 */
#ifdef HAVE_SDL2