diff options
| author | Michael Maltese <mchtly@gmail.com> | 2017-06-25 23:02:57 -0700 |
|---|---|---|
| committer | Michael Maltese <mchtly@gmail.com> | 2017-06-27 00:06:13 -0700 |
| commit | 56961f5561c22b5face92a27f71050ab74469dfb (patch) | |
| tree | c8bfb6bc1d373d1aaf854fa86d5ee6088b1af608 /Source/Core/AudioCommon/OpenALStream.cpp | |
| parent | 0fb742581af9a16c5b421570bdec26ebbf19abfe (diff) | |
OpenALStream: don't include headers if not building
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenALStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp index 25dd14e7b2..75ba493a07 100644 --- a/Source/Core/AudioCommon/OpenALStream.cpp +++ b/Source/Core/AudioCommon/OpenALStream.cpp @@ -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 |
