Skip to content

Commit

Permalink
SOUND: Remove ENABLE_* variable check in main source
Browse files Browse the repository at this point in the history
  • Loading branch information
clone2727 authored and DrMcCoy committed Aug 18, 2018
1 parent d9d2c3f commit e2fc0e7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions src/sound/decoders/aac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifdef ENABLE_FAAD
#include <cstring>

#include <neaacdec.h>
Expand Down Expand Up @@ -158,4 +153,3 @@ Codec *makeAACDecoder(Common::SeekableReadStream *extraData, bool disposeExtraDa
}

} // End of namespace Sound
#endif
6 changes: 0 additions & 6 deletions src/sound/decoders/mp3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifdef ENABLE_MAD
#include <cassert>
#include <cstring>

Expand Down Expand Up @@ -364,4 +359,3 @@ RewindableAudioStream *makeMP3Stream(Common::SeekableReadStream *stream, bool di
}

} // End of namespace Sound
#endif
6 changes: 0 additions & 6 deletions src/sound/decoders/vorbis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifdef ENABLE_VORBIS
#include <cassert>
#include <cstring>

Expand Down Expand Up @@ -266,4 +261,3 @@ RewindableAudioStream *makeVorbisStream(Common::SeekableReadStream *stream, bool
}

} // End of namespace Sound
#endif

0 comments on commit e2fc0e7

Please sign in to comment.