summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnton Yabchinskiy <arn@bestmx.ru>2014-11-28 17:09:22 +0300
committerAnton Yabchinskiy <arn@bestmx.ru>2014-11-28 17:09:22 +0300
commitc29239a6f9b04f0050266b6c4ed8641500d9ed10 (patch)
treee706c5b22be83becf26f5b0798dbdf0815baee5b /drivers
parent3e09c0991561d0068b38f054bba81bdc2d21c1e2 (diff)
Add missing check for AO_ENABLED in audio_driver_ao.cpp
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ao/audio_driver_ao.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ao/audio_driver_ao.cpp b/drivers/ao/audio_driver_ao.cpp
index 50c3ef7fa5..a484a5882e 100644
--- a/drivers/ao/audio_driver_ao.cpp
+++ b/drivers/ao/audio_driver_ao.cpp
@@ -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