OpenALStream: don't include headers if not building
This commit is contained in:
parent
0fb742581a
commit
56961f5561
|
@ -2,6 +2,8 @@
|
|||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#if defined HAVE_OPENAL && HAVE_OPENAL
|
||||
|
||||
#include <climits>
|
||||
#include <cstring>
|
||||
#include <thread>
|
||||
|
@ -13,8 +15,6 @@
|
|||
#include "Common/Thread.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
|
||||
#if defined HAVE_OPENAL && HAVE_OPENAL
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma comment(lib, "openal32.lib")
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue