check.h: remove obsolete header
Since we switched from autotools to Meson in commit
94592c1406
, we don't need to include
`config.h` early to properly enable large file support. Meson passes
the required macros on the compiler command line instead of defining
them in `config.h`.
This means we can include `config.h` at any time, whenever we want to
check its macros, and there are no ordering constraints.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Playlist.hxx"
|
||||
#include "Listener.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
|
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "SingleMode.hxx"
|
||||
#include "queue/Queue.hxx"
|
||||
#include "config.h"
|
||||
|
||||
enum TagType : uint8_t;
|
||||
struct Tag;
|
||||
|
@@ -22,7 +22,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Playlist.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
#include "player/Control.hxx"
|
||||
|
@@ -23,7 +23,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Playlist.hxx"
|
||||
#include "Listener.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
|
@@ -22,7 +22,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "PlaylistState.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
#include "Playlist.hxx"
|
||||
|
@@ -23,7 +23,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Playlist.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
#include "song/DetachedSong.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Playlist.hxx"
|
||||
#include "db/Interface.hxx"
|
||||
#include "song/LightSong.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Queue.hxx"
|
||||
#include "song/DetachedSong.hxx"
|
||||
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "QueuePrint.hxx"
|
||||
#include "Queue.hxx"
|
||||
#include "song/Filter.hxx"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "QueueSave.hxx"
|
||||
#include "Queue.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
|
Reference in New Issue
Block a user