]> granicus.if.org Git - taglib/commitdiff
Remove some #ifdefs and #includes no longer used.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Sun, 21 Feb 2016 15:35:11 +0000 (00:35 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Sun, 21 Feb 2016 15:35:11 +0000 (00:35 +0900)
taglib/mp4/mp4atom.cpp
taglib/mpeg/id3v2/id3v2tag.cpp
taglib/toolkit/tbytevector.cpp
taglib/toolkit/tstring.cpp

index 1a5c320872b0e28c2ef71315e820838f440581d7..6ea0cb62cbe386c844ed634850700125b64e85b6 100644 (file)
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <climits>
 
 #include <tdebug.h>
index af80e4f5f8140bc4c94d65e6e4bb0994643de474..4c00ab6fb5941d6aa8d97ef0f143cc9d270092c6 100644 (file)
  *   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
index 0d6538d9d8e1624cc411de9cf9cf03798fdfa8b0..6494a448b93e06b2eac05ba17d24e2ad6a95af32 100644 (file)
  *   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"
 
index 56daf33faa2a90d61e7eb33d0544b2ea822a5766..01a69266b5cecd659bc2c191d7e107e870a3f976 100644 (file)
 
 // 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>
 # 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;