mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
#ifndef LOVE_NOMPG123
|
||||
|
||||
#include "Mpg123Decoder.h"
|
||||
|
||||
#include "common/Exception.h"
|
||||
@@ -234,5 +232,3 @@ int Mpg123Decoder::feed(int bytes)
|
||||
} // lullaby
|
||||
} // sound
|
||||
} // love
|
||||
|
||||
#endif // LOVE_NOMPG123
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
#ifndef LOVE_NOMPG123
|
||||
#ifndef LOVE_SOUND_LULLABY_LIBMPG123_DECODER_H
|
||||
#define LOVE_SOUND_LULLABY_LIBMPG123_DECODER_H
|
||||
|
||||
@@ -77,4 +76,3 @@ private:
|
||||
} // love
|
||||
|
||||
#endif // LOVE_SOUND_LULLABY_LIBMPG123_DECODER_H
|
||||
#endif // LOVE_NOMPG123
|
||||
|
||||
Reference in New Issue
Block a user