Remove some #ifdefs and #includes no longer used.

This commit is contained in:
Tsuda Kageyu 2016-02-22 00:35:11 +09:00
parent 710166e32d
commit 8d09f12847
4 changed files with 5 additions and 20 deletions

View File

@ -23,10 +23,6 @@
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <climits>
#include <tdebug.h>

View File

@ -23,10 +23,6 @@
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <algorithm>
#include <tfile.h>
@ -470,7 +466,7 @@ ByteVector ID3v2::Tag::render() const
void ID3v2::Tag::downgradeFrames(FrameList *frames, FrameList *newFrames) const
{
#ifdef NO_ITUNES_HACKS
#ifdef NO_ITUNES_HACKS
const char *unsupportedFrames[] = {
"ASPI", "EQU2", "RVA2", "SEEK", "SIGN", "TDRL", "TDTG",
"TMOO", "TPRO", "TSOA", "TSOT", "TSST", "TSOP", 0

View File

@ -23,10 +23,6 @@
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <algorithm>
#include <iostream>
#include <limits>
@ -37,8 +33,8 @@
#include <tstring.h>
#include <tdebug.h>
#include "trefcounter.h"
#include "tutils.h"
#include <trefcounter.h>
#include <tutils.h>
#include "tbytevector.h"

View File

@ -25,10 +25,6 @@
// This class assumes that std::basic_string<T> has a contiguous and null-terminated buffer.
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <iostream>
#include <cerrno>
#include <climits>
@ -41,12 +37,13 @@
# include "unicode.h"
#endif
#include <tstring.h>
#include <tdebug.h>
#include <tstringlist.h>
#include <trefcounter.h>
#include <tutils.h>
#include "tstring.h"
namespace
{
using namespace TagLib;