Преглед изворни кода

--disable-mpg123 needs the header conditionally included, too

Bart van Strien пре 12 година
родитељ
комит
b6c8a48c25
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      src/modules/sound/lullaby/Sound.cpp

+ 4 - 1
src/modules/sound/lullaby/Sound.cpp

@@ -23,11 +23,14 @@
 #include "Sound.h"
 #include "Sound.h"
 
 
 #include "ModPlugDecoder.h"
 #include "ModPlugDecoder.h"
-#include "Mpg123Decoder.h"
 #include "VorbisDecoder.h"
 #include "VorbisDecoder.h"
 #include "GmeDecoder.h"
 #include "GmeDecoder.h"
 //#include "FLACDecoder.h"
 //#include "FLACDecoder.h"
 
 
+#ifndef LOVE_NOMPG123
+#	include "Mpg123Decoder.h"
+#endif // LOVE_NOMPG123
+
 namespace love
 namespace love
 {
 {
 namespace sound
 namespace sound