diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index e8dd591f6c6..0050c9eb56a 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -261,7 +261,7 @@ SND_OpenALDevice::SND_OpenALDevice() { #ifdef OUDE_OPENAL ALenum alc_error = ALC_NO_ERROR; // openal_2.12 -#elif _WIN32 +#elif defined(_WIN32) // alcGetError has no arguments on windows ALenum alc_error = alcGetError(); // openal_2.14+ #else