2
0
Эх сурвалжийг харах

Add missing check for AO_ENABLED in audio_driver_ao.cpp

Anton Yabchinskiy 10 жил өмнө
parent
commit
c29239a6f9

+ 4 - 0
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