Add missing check for AO_ENABLED in audio_driver_ao.cpp

This commit is contained in:
Anton Yabchinskiy 2014-11-28 17:09:22 +03:00
parent 3e09c09915
commit c29239a6f9

View file

@ -29,6 +29,8 @@
/*************************************************************************/
#include "audio_driver_ao.h"
#ifdef AO_ENABLED
#include "globals.h"
#include "os/os.h"
@ -155,3 +157,5 @@ AudioDriverAO::AudioDriverAO() {
AudioDriverAO::~AudioDriverAO() {
ao_shutdown();
};
#endif