diff options
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/jack.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Alc/backends/jack.c b/Alc/backends/jack.c index cfdc62e8..517f99a4 100644 --- a/Alc/backends/jack.c +++ b/Alc/backends/jack.c @@ -94,7 +94,12 @@ static ALCboolean jack_load(void) #ifdef HAVE_DYNLOAD if(!jack_handle) { - jack_handle = LoadLib("libjack.so.0"); +#ifdef _WIN32 +#define JACKLIB "libjack.dll" +#else +#define JACKLIB "libjack.so.0" +#endif + jack_handle = LoadLib(JACKLIB); if(!jack_handle) return ALC_FALSE; |