From 271cfcf8e31d06dca259a436251b70f5ffa882be Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 Nov 2018 22:23:29 -0800 Subject: Convert the Solaris backend factory --- Alc/alc.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Alc/alc.cpp') diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 63f60e80..89385888 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -77,6 +77,9 @@ #ifdef HAVE_OPENSL #include "backends/opensl.h" #endif +#ifdef HAVE_SOLARIS +#include "backends/solaris.h" +#endif #ifdef HAVE_SDL2 #include "backends/sdl2.h" #endif @@ -114,13 +117,14 @@ struct BackendInfo BackendList[] = { #ifdef HAVE_OPENSL { "opensl", OSLBackendFactory::getFactory }, #endif +#ifdef HAVE_SOLARIS + { "solaris", SolarisBackendFactory::getFactory }, +#endif #if 0 - { "solaris", ALCsolarisBackendFactory_getFactory }, { "sndio", SndioBackendFactory_getFactory }, { "oss", ALCossBackendFactory_getFactory }, { "qsa", ALCqsaBackendFactory_getFactory }, - { "wasapi", ALCwasapiBackendFactory_getFactory }, { "dsound", ALCdsoundBackendFactory_getFactory }, { "winmm", ALCwinmmBackendFactory_getFactory }, { "port", ALCportBackendFactory_getFactory }, -- cgit v1.2.3