Only build OpenAL on Windows

This commit is contained in:
Michael Maltese
2017-06-25 23:52:51 -07:00
parent 42ea1c8ecf
commit 18e70cdf91
5 changed files with 15 additions and 33 deletions

View File

@ -2,7 +2,7 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#if defined HAVE_OPENAL && HAVE_OPENAL
#ifdef _WIN32
#include <climits>
#include <cstring>
@ -347,4 +347,4 @@ void OpenALStream::SoundLoop()
}
}
#endif // HAVE_OPENAL
#endif // _WIN32