summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
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