Commit be2951b4 authored by Max Kellermann's avatar Max Kellermann

gcc.h: rename to Compiler.h

parent 1dd1a705
...@@ -55,7 +55,6 @@ mpd_headers = \ ...@@ -55,7 +55,6 @@ mpd_headers = \
src/command.h \ src/command.h \
src/gerror.h \ src/gerror.h \
src/glib_compat.h \ src/glib_compat.h \
src/gcc.h \
src/TextInputStream.hxx \ src/TextInputStream.hxx \
src/AudioCompress/config.h \ src/AudioCompress/config.h \
src/AudioCompress/compress.h \ src/AudioCompress/compress.h \
...@@ -70,6 +69,7 @@ src_mpd_SOURCES = \ ...@@ -70,6 +69,7 @@ src_mpd_SOURCES = \
$(DECODER_SRC) \ $(DECODER_SRC) \
$(OUTPUT_API_SRC) \ $(OUTPUT_API_SRC) \
$(MIXER_API_SRC) \ $(MIXER_API_SRC) \
src/Compiler.h \
src/thread/Id.hxx \ src/thread/Id.hxx \
src/thread/Mutex.hxx \ src/thread/Mutex.hxx \
src/thread/PosixMutex.hxx \ src/thread/PosixMutex.hxx \
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_AUDIO_FORMAT_HXX #ifndef MPD_AUDIO_FORMAT_HXX
#define MPD_AUDIO_FORMAT_HXX #define MPD_AUDIO_FORMAT_HXX
#include "gcc.h" #include "Compiler.h"
#include <stdint.h> #include <stdint.h>
#include <assert.h> #include <assert.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "CheckAudioFormat.hxx" #include "CheckAudioFormat.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_H #ifndef MPD_CLIENT_H
#define MPD_CLIENT_H #define MPD_CLIENT_H
#include "gcc.h" #include "Compiler.h"
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
#include "ClientMessage.hxx" #include "ClientMessage.hxx"
#include "gcc.h" #include "Compiler.h"
#include <glib.h> #include <glib.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_MESSAGE_H #ifndef MPD_CLIENT_MESSAGE_H
#define MPD_CLIENT_MESSAGE_H #define MPD_CLIENT_MESSAGE_H
#include "gcc.h" #include "Compiler.h"
#include <string> #include <string>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_SUBSCRIBE_HXX #ifndef MPD_CLIENT_SUBSCRIBE_HXX
#define MPD_CLIENT_SUBSCRIBE_HXX #define MPD_CLIENT_SUBSCRIBE_HXX
#include "gcc.h" #include "Compiler.h"
class Client; class Client;
class ClientMessage; class ClientMessage;
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef MPD_GCC_H #ifndef COMPILER_H
#define MPD_GCC_H #define COMPILER_H
#define GCC_CHECK_VERSION(major, minor) \ #define GCC_CHECK_VERSION(major, minor) \
(defined(__GNUC__) && \ (defined(__GNUC__) && \
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_CONFIG_DATA_HXX #define MPD_CONFIG_DATA_HXX
#include "ConfigOption.hxx" #include "ConfigOption.hxx"
#include "gcc.h" #include "Compiler.h"
#include <string> #include <string>
#include <array> #include <array>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_CONFIG_GLOBAL_HXX #define MPD_CONFIG_GLOBAL_HXX
#include "ConfigOption.hxx" #include "ConfigOption.hxx"
#include "gcc.h" #include "Compiler.h"
class Error; class Error;
class Path; class Path;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_CONFIG_OPTION_HXX #ifndef MPD_CONFIG_OPTION_HXX
#define MPD_CONFIG_OPTION_HXX #define MPD_CONFIG_OPTION_HXX
#include "gcc.h" #include "Compiler.h"
enum ConfigOption { enum ConfigOption {
CONF_MUSIC_DIR, CONF_MUSIC_DIR,
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_GLUE_HXX #ifndef MPD_DATABASE_GLUE_HXX
#define MPD_DATABASE_GLUE_HXX #define MPD_DATABASE_GLUE_HXX
#include "gcc.h" #include "Compiler.h"
struct config_param; struct config_param;
class Database; class Database;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "DatabaseVisitor.hxx" #include "DatabaseVisitor.hxx"
#include "tag/TagType.h" #include "tag/TagType.h"
#include "gcc.h" #include "Compiler.h"
class Error; class Error;
class Database; class Database;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "DatabaseLock.hxx" #include "DatabaseLock.hxx"
#include "gcc.h" #include "Compiler.h"
Mutex db_mutex; Mutex db_mutex;
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "check.h" #include "check.h"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_PLAYLIST_HXX #ifndef MPD_DATABASE_PLAYLIST_HXX
#define MPD_DATABASE_PLAYLIST_HXX #define MPD_DATABASE_PLAYLIST_HXX
#include "gcc.h" #include "Compiler.h"
class SongFilter; class SongFilter;
class Error; class Error;
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "DatabaseVisitor.hxx" #include "DatabaseVisitor.hxx"
#include "tag/TagType.h" #include "tag/TagType.h"
#include "gcc.h" #include "Compiler.h"
struct config_param; struct config_param;
struct DatabaseSelection; struct DatabaseSelection;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_DB_PRINT_H #ifndef MPD_DB_PRINT_H
#define MPD_DB_PRINT_H #define MPD_DB_PRINT_H
#include "gcc.h" #include "Compiler.h"
class SongFilter; class SongFilter;
struct DatabaseSelection; struct DatabaseSelection;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_REGISTRY_HXX #ifndef MPD_DATABASE_REGISTRY_HXX
#define MPD_DATABASE_REGISTRY_HXX #define MPD_DATABASE_REGISTRY_HXX
#include "gcc.h" #include "Compiler.h"
struct DatabasePlugin; struct DatabasePlugin;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_SELECTION_HXX #ifndef MPD_DATABASE_SELECTION_HXX
#define MPD_DATABASE_SELECTION_HXX #define MPD_DATABASE_SELECTION_HXX
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
#include <stddef.h> #include <stddef.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_SIMPLE_HXX #ifndef MPD_DATABASE_SIMPLE_HXX
#define MPD_DATABASE_SIMPLE_HXX #define MPD_DATABASE_SIMPLE_HXX
#include "gcc.h" #include "Compiler.h"
#include <sys/time.h> #include <sys/time.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "check.h" #include "check.h"
#include "util/list.h" #include "util/list.h"
#include "gcc.h" #include "Compiler.h"
#include "DatabaseVisitor.hxx" #include "DatabaseVisitor.hxx"
#include "PlaylistVector.hxx" #include "PlaylistVector.hxx"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#ifndef MPD_EXCLUDE_H #ifndef MPD_EXCLUDE_H
#define MPD_EXCLUDE_H #define MPD_EXCLUDE_H
#include "gcc.h" #include "Compiler.h"
#include <forward_list> #include <forward_list>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "GlobalEvents.hxx" #include "GlobalEvents.hxx"
#include "util/Manual.hxx" #include "util/Manual.hxx"
#include "event/DeferredMonitor.hxx" #include "event/DeferredMonitor.hxx"
#include "gcc.h" #include "Compiler.h"
#include <atomic> #include <atomic>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_IO_THREAD_HXX #ifndef MPD_IO_THREAD_HXX
#define MPD_IO_THREAD_HXX #define MPD_IO_THREAD_HXX
#include "gcc.h" #include "Compiler.h"
class EventLoop; class EventLoop;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_ID_TABLE_HXX #ifndef MPD_ID_TABLE_HXX
#define MPD_ID_TABLE_HXX #define MPD_ID_TABLE_HXX
#include "gcc.h" #include "Compiler.h"
#include <algorithm> #include <algorithm>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_INOTIFY_QUEUE_HXX #define MPD_INOTIFY_QUEUE_HXX
#include "event/TimeoutMonitor.hxx" #include "event/TimeoutMonitor.hxx"
#include "gcc.h" #include "Compiler.h"
#include <list> #include <list>
#include <string> #include <string>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_INOTIFY_SOURCE_HXX #define MPD_INOTIFY_SOURCE_HXX
#include "event/SocketMonitor.hxx" #include "event/SocketMonitor.hxx"
#include "gcc.h" #include "Compiler.h"
class Error; class Error;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "check.h" #include "check.h"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "thread/Cond.hxx" #include "thread/Cond.hxx"
#include "gcc.h" #include "Compiler.h"
#include <string> #include <string>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_LOG_HXX #ifndef MPD_LOG_HXX
#define MPD_LOG_HXX #define MPD_LOG_HXX
#include "gcc.h" #include "Compiler.h"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <string> #include <string>
#include "gcc.h" #include "Compiler.h"
#define PLAYLIST_FILE_SUFFIX ".m3u" #define PLAYLIST_FILE_SUFFIX ".m3u"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_PIPE_H #define MPD_PIPE_H
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "gcc.h" #include "Compiler.h"
#ifndef NDEBUG #ifndef NDEBUG
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#define OUTPUT_ALL_H #define OUTPUT_ALL_H
#include "ReplayGainInfo.hxx" #include "ReplayGainInfo.hxx"
#include "gcc.h" #include "Compiler.h"
struct AudioFormat; struct AudioFormat;
class MusicBuffer; class MusicBuffer;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_OUTPUT_PLUGIN_HXX #ifndef MPD_OUTPUT_PLUGIN_HXX
#define MPD_OUTPUT_PLUGIN_HXX #define MPD_OUTPUT_PLUGIN_HXX
#include "gcc.h" #include "Compiler.h"
#include <stddef.h> #include <stddef.h>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "system/FatalError.hxx" #include "system/FatalError.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "gcc.h" #include "Compiler.h"
#include <glib.h> #include <glib.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_PLAYLIST_INFO_HXX #define MPD_PLAYLIST_INFO_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#include <string> #include <string>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_PLAYLIST_VECTOR_HXX #define MPD_PLAYLIST_VECTOR_HXX
#include "PlaylistInfo.hxx" #include "PlaylistInfo.hxx"
#include "gcc.h" #include "Compiler.h"
#include <list> #include <list>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_QUEUE_HXX #ifndef MPD_QUEUE_HXX
#define MPD_QUEUE_HXX #define MPD_QUEUE_HXX
#include "gcc.h" #include "Compiler.h"
#include "IdTable.hxx" #include "IdTable.hxx"
#include "util/LazyRandomEngine.hxx" #include "util/LazyRandomEngine.hxx"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_SONG_HXX #define MPD_SONG_HXX
#include "util/list.h" #include "util/list.h"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
#include <sys/time.h> #include <sys/time.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_SONG_FILTER_HXX #ifndef MPD_SONG_FILTER_HXX
#define MPD_SONG_FILTER_HXX #define MPD_SONG_FILTER_HXX
#include "gcc.h" #include "Compiler.h"
#include <list> #include <list>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "event/TimeoutMonitor.hxx" #include "event/TimeoutMonitor.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "gcc.h" #include "Compiler.h"
#include <string> #include <string>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_TEXT_FILE_HXX #ifndef MPD_TEXT_FILE_HXX
#define MPD_TEXT_FILE_HXX #define MPD_TEXT_FILE_HXX
#include "gcc.h" #include "Compiler.h"
#include <stdio.h> #include <stdio.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_UPDATE_ARCHIVE_HXX #define MPD_UPDATE_ARCHIVE_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#ifdef WIN32 #ifdef WIN32
#include "gcc.h" #include "Compiler.h"
#include "GlobalEvents.hxx" #include "GlobalEvents.hxx"
#include "system/FatalError.hxx" #include "system/FatalError.hxx"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "event/SocketMonitor.hxx" #include "event/SocketMonitor.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "gcc.h" #include "Compiler.h"
#include <glib.h> #include <glib.h>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "Listen.hxx" #include "Listen.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "gcc.h" #include "Compiler.h"
static constexpr Domain zeroconf_domain("zeroconf"); static constexpr Domain zeroconf_domain("zeroconf");
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_CUE_PARSER_HXX #define MPD_CUE_PARSER_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
struct Song; struct Song;
struct Tag; struct Tag;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "PlaylistVector.hxx" #include "PlaylistVector.hxx"
#include "Directory.hxx" #include "Directory.hxx"
#include "Song.hxx" #include "Song.hxx"
#include "gcc.h" #include "Compiler.h"
#include "ConfigData.hxx" #include "ConfigData.hxx"
#include "tag/TagBuilder.hxx" #include "tag/TagBuilder.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "DatabasePlugin.hxx" #include "DatabasePlugin.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "gcc.h" #include "Compiler.h"
#include <cassert> #include <cassert>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "FlacIOHandle.hxx" #include "FlacIOHandle.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "gcc.h" #include "Compiler.h"
#include <errno.h> #include <errno.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_FLAC_IO_HANDLE_HXX #ifndef MPD_FLAC_IO_HANDLE_HXX
#define MPD_FLAC_IO_HANDLE_HXX #define MPD_FLAC_IO_HANDLE_HXX
#include "gcc.h" #include "Compiler.h"
#include "InputStream.hxx" #include "InputStream.hxx"
#include <FLAC/callback.h> #include <FLAC/callback.h>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "InputStream.hxx" #include "InputStream.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "gcc.h" #include "Compiler.h"
FLAC__StreamDecoderReadStatus FLAC__StreamDecoderReadStatus
FlacInput::Read(FLAC__byte buffer[], size_t *bytes) FlacInput::Read(FLAC__byte buffer[], size_t *bytes)
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_FLAC_METADATA_H #ifndef MPD_FLAC_METADATA_H
#define MPD_FLAC_METADATA_H #define MPD_FLAC_METADATA_H
#include "gcc.h" #include "Compiler.h"
#include "FlacIOHandle.hxx" #include "FlacIOHandle.hxx"
#include <FLAC/metadata.h> #include <FLAC/metadata.h>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
extern "C" { extern "C" {
#include "util/growing_fifo.h" #include "util/growing_fifo.h"
} }
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "check.h" #include "check.h"
#include "SocketMonitor.hxx" #include "SocketMonitor.hxx"
#include "gcc.h" #include "Compiler.h"
struct fifo_buffer; struct fifo_buffer;
class Error; class Error;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "DeferredMonitor.hxx" #include "DeferredMonitor.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "thread/Cond.hxx" #include "thread/Cond.hxx"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_SOCKET_DEFERRED_MONITOR_HXX #define MPD_SOCKET_DEFERRED_MONITOR_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#ifdef USE_EPOLL #ifdef USE_EPOLL
#include "SocketMonitor.hxx" #include "SocketMonitor.hxx"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "check.h" #include "check.h"
#include "BufferedSocket.hxx" #include "BufferedSocket.hxx"
#include "util/PeakBuffer.hxx" #include "util/PeakBuffer.hxx"
#include "gcc.h" #include "Compiler.h"
/** /**
* A #BufferedSocket specialization that adds an output buffer. * A #BufferedSocket specialization that adds an output buffer.
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "check.h" #include "check.h"
#include "thread/Id.hxx" #include "thread/Id.hxx"
#include "gcc.h" #include "Compiler.h"
#ifdef USE_EPOLL #ifdef USE_EPOLL
#include "system/EPollFD.hxx" #include "system/EPollFD.hxx"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "MultiSocketMonitor.hxx" #include "MultiSocketMonitor.hxx"
#include "Loop.hxx" #include "Loop.hxx"
#include "system/fd_util.h" #include "system/fd_util.h"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_MULTI_SOCKET_MONITOR_HXX #define MPD_MULTI_SOCKET_MONITOR_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#ifdef USE_EPOLL #ifdef USE_EPOLL
#include "IdleMonitor.hxx" #include "IdleMonitor.hxx"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "SocketMonitor.hxx" #include "SocketMonitor.hxx"
#include "Loop.hxx" #include "Loop.hxx"
#include "system/fd_util.h" #include "system/fd_util.h"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "FilterInternal.hxx" #include "FilterInternal.hxx"
#include "FilterRegistry.hxx" #include "FilterRegistry.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "gcc.h" #include "Compiler.h"
class NullFilter final : public Filter { class NullFilter final : public Filter {
public: public:
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "util/Error.hxx" #include "util/Error.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "gcc.h" #include "Compiler.h"
#include <glib.h> #include <glib.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_FS_PATH_HXX #define MPD_FS_PATH_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#ifdef WIN32 #ifdef WIN32
#include <glib.h> #include <glib.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_OUTPUT_HTTPD_CLIENT_HXX #define MPD_OUTPUT_HTTPD_CLIENT_HXX
#include "event/BufferedSocket.hxx" #include "event/BufferedSocket.hxx"
#include "gcc.h" #include "Compiler.h"
#include <list> #include <list>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#ifdef ENABLE_WINMM_OUTPUT #ifdef ENABLE_WINMM_OUTPUT
#include "gcc.h" #include "Compiler.h"
#include <windows.h> #include <windows.h>
#include <mmsystem.h> #include <mmsystem.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define PCM_BUFFER_HXX #define PCM_BUFFER_HXX
#include "util/ReusableArray.hxx" #include "util/ReusableArray.hxx"
#include "gcc.h" #include "Compiler.h"
#include <stdint.h> #include <stdint.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_PCM_MIX_HXX #define MPD_PCM_MIX_HXX
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "gcc.h" #include "Compiler.h"
#include <stddef.h> #include <stddef.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_PCM_UTILS_H #ifndef MPD_PCM_UTILS_H
#define MPD_PCM_UTILS_H #define MPD_PCM_UTILS_H
#include "gcc.h" #include "Compiler.h"
#include <limits> #include <limits>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_PROTOCOL_RESULT_HXX #define MPD_PROTOCOL_RESULT_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#include "Ack.hxx" #include "Ack.hxx"
#include <stdarg.h> #include <stdarg.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "EventFD.hxx" #include "EventFD.hxx"
#include "system/fd_util.h" #include "system/fd_util.h"
#include "system/FatalError.hxx" #include "system/FatalError.hxx"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "EventPipe.hxx" #include "EventPipe.hxx"
#include "system/fd_util.h" #include "system/fd_util.h"
#include "system/FatalError.hxx" #include "system/FatalError.hxx"
#include "gcc.h" #include "Compiler.h"
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "check.h" #include "check.h"
#include "gerror.h" #include "gerror.h"
#include "gcc.h" #include "Compiler.h"
class Error; class Error;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_RESOLVER_HXX #ifndef MPD_RESOLVER_HXX
#define MPD_RESOLVER_HXX #define MPD_RESOLVER_HXX
#include "gcc.h" #include "Compiler.h"
#include <stddef.h> #include <stddef.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_SOCKET_ERROR_HXX #ifndef MPD_SOCKET_ERROR_HXX
#define MPD_SOCKET_ERROR_HXX #define MPD_SOCKET_ERROR_HXX
#include "gcc.h" #include "Compiler.h"
#include "util/Error.hxx" #include "util/Error.hxx"
#ifdef WIN32 #ifdef WIN32
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_CLOCK_H #ifndef MPD_CLOCK_H
#define MPD_CLOCK_H #define MPD_CLOCK_H
#include "gcc.h" #include "Compiler.h"
#include <stdint.h> #include <stdint.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "TagType.h" #include "TagType.h"
#include "TagItem.hxx" #include "TagItem.hxx"
#include "gcc.h" #include "Compiler.h"
#include <algorithm> #include <algorithm>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_TAG_BUILDER_HXX #define MPD_TAG_BUILDER_HXX
#include "TagType.h" #include "TagType.h"
#include "gcc.h" #include "Compiler.h"
#include <vector> #include <vector>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_TAG_ID3_HXX #define MPD_TAG_ID3_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
struct tag_handler; struct tag_handler;
struct Tag; struct Tag;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_TAG_ITEM_HXX #define MPD_TAG_ITEM_HXX
#include "TagType.h" #include "TagType.h"
#include "gcc.h" #include "Compiler.h"
/** /**
* One tag value. It is a mapping of #tag_type to am arbitrary string * One tag value. It is a mapping of #tag_type to am arbitrary string
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_TAG_STRING_HXX #define MPD_TAG_STRING_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#include <stddef.h> #include <stddef.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_TAG_TABLE_HXX #define MPD_TAG_TABLE_HXX
#include "TagType.h" #include "TagType.h"
#include "gcc.h" #include "Compiler.h"
struct tag_table { struct tag_table {
const char *name; const char *name;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_THREAD_ID_HXX #ifndef MPD_THREAD_ID_HXX
#define MPD_THREAD_ID_HXX #define MPD_THREAD_ID_HXX
#include "gcc.h" #include "Compiler.h"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_ERROR_HXX #define MPD_ERROR_HXX
#include "check.h" #include "check.h"
#include "gcc.h" #include "Compiler.h"
#include <string> #include <string>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_HUGE_ALLOCATOR_HXX #ifndef MPD_HUGE_ALLOCATOR_HXX
#define MPD_HUGE_ALLOCATOR_HXX #define MPD_HUGE_ALLOCATOR_HXX
#include "gcc.h" #include "Compiler.h"
#include <stddef.h> #include <stddef.h>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#ifndef MPD_MANUAL_HXX #ifndef MPD_MANUAL_HXX
#define MPD_MANUAL_HXX #define MPD_MANUAL_HXX
#include "gcc.h" #include "Compiler.h"
#include <new> #include <new>
#include <utility> #include <utility>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_PEAK_BUFFER_HXX #ifndef MPD_PEAK_BUFFER_HXX
#define MPD_PEAK_BUFFER_HXX #define MPD_PEAK_BUFFER_HXX
#include "gcc.h" #include "Compiler.h"
#include <stddef.h> #include <stddef.h>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <stddef.h> #include <stddef.h>
#include "gcc.h" #include "Compiler.h"
/** /**
* Manager for a temporary array which grows as needed. This attempts * Manager for a temporary array which grows as needed. This attempts
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define MPD_SLICE_BUFFER_HXX #define MPD_SLICE_BUFFER_HXX
#include "HugeAllocator.hxx" #include "HugeAllocator.hxx"
#include "gcc.h" #include "Compiler.h"
#include <utility> #include <utility>
#include <new> #include <new>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_STRING_UTIL_HXX #ifndef MPD_STRING_UTIL_HXX
#define MPD_STRING_UTIL_HXX #define MPD_STRING_UTIL_HXX
#include "gcc.h" #include "Compiler.h"
/** /**
* Returns a pointer to the first non-whitespace character in the * Returns a pointer to the first non-whitespace character in the
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_URI_UTIL_HXX #ifndef MPD_URI_UTIL_HXX
#define MPD_URI_UTIL_HXX #define MPD_URI_UTIL_HXX
#include "gcc.h" #include "Compiler.h"
/** /**
* Checks whether the specified URI has a scheme in the form * Checks whether the specified URI has a scheme in the form
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_BIT_REVERSE_H #ifndef MPD_BIT_REVERSE_H
#define MPD_BIT_REVERSE_H #define MPD_BIT_REVERSE_H
#include "gcc.h" #include "Compiler.h"
#include <stdint.h> #include <stdint.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "Song.hxx" #include "Song.hxx"
#include "directory.h" #include "directory.h"
#include "gcc.h" #include "Compiler.h"
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment