Add missing check for AO_ENABLED in audio_driver_ao.cpp
This commit is contained in:
parent
3e09c09915
commit
c29239a6f9
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue