gcc.h: rename to Compiler.h

This commit is contained in:
Max Kellermann 2013-10-15 09:21:13 +02:00
parent 1dd1a705b5
commit be2951b45f
94 changed files with 95 additions and 95 deletions

View File

@ -55,7 +55,6 @@ mpd_headers = \
src/command.h \
src/gerror.h \
src/glib_compat.h \
src/gcc.h \
src/TextInputStream.hxx \
src/AudioCompress/config.h \
src/AudioCompress/compress.h \
@ -70,6 +69,7 @@ src_mpd_SOURCES = \
$(DECODER_SRC) \
$(OUTPUT_API_SRC) \
$(MIXER_API_SRC) \
src/Compiler.h \
src/thread/Id.hxx \
src/thread/Mutex.hxx \
src/thread/PosixMutex.hxx \

View File

@ -20,7 +20,7 @@
#ifndef MPD_AUDIO_FORMAT_HXX
#define MPD_AUDIO_FORMAT_HXX
#include "gcc.h"
#include "Compiler.h"
#include <stdint.h>
#include <assert.h>

View File

@ -27,7 +27,7 @@
#include "AudioFormat.hxx"
#include "CheckAudioFormat.hxx"
#include "util/Error.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>
#include <string.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_H
#define MPD_CLIENT_H
#include "gcc.h"
#include "Compiler.h"
#include <stddef.h>
#include <stdarg.h>

View File

@ -18,7 +18,7 @@
*/
#include "ClientMessage.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <glib.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_MESSAGE_H
#define MPD_CLIENT_MESSAGE_H
#include "gcc.h"
#include "Compiler.h"
#include <string>

View File

@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_SUBSCRIBE_HXX
#define MPD_CLIENT_SUBSCRIBE_HXX
#include "gcc.h"
#include "Compiler.h"
class Client;
class ClientMessage;

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_GCC_H
#define MPD_GCC_H
#ifndef COMPILER_H
#define COMPILER_H
#define GCC_CHECK_VERSION(major, minor) \
(defined(__GNUC__) && \

View File

@ -21,7 +21,7 @@
#define MPD_CONFIG_DATA_HXX
#include "ConfigOption.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <string>
#include <array>

View File

@ -21,7 +21,7 @@
#define MPD_CONFIG_GLOBAL_HXX
#include "ConfigOption.hxx"
#include "gcc.h"
#include "Compiler.h"
class Error;
class Path;

View File

@ -20,7 +20,7 @@
#ifndef MPD_CONFIG_OPTION_HXX
#define MPD_CONFIG_OPTION_HXX
#include "gcc.h"
#include "Compiler.h"
enum ConfigOption {
CONF_MUSIC_DIR,

View File

@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_GLUE_HXX
#define MPD_DATABASE_GLUE_HXX
#include "gcc.h"
#include "Compiler.h"
struct config_param;
class Database;

View File

@ -22,7 +22,7 @@
#include "DatabaseVisitor.hxx"
#include "tag/TagType.h"
#include "gcc.h"
#include "Compiler.h"
class Error;
class Database;

View File

@ -19,7 +19,7 @@
#include "config.h"
#include "DatabaseLock.hxx"
#include "gcc.h"
#include "Compiler.h"
Mutex db_mutex;

View File

@ -28,7 +28,7 @@
#include "check.h"
#include "thread/Mutex.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_PLAYLIST_HXX
#define MPD_DATABASE_PLAYLIST_HXX
#include "gcc.h"
#include "Compiler.h"
class SongFilter;
class Error;

View File

@ -28,7 +28,7 @@
#include "DatabaseVisitor.hxx"
#include "tag/TagType.h"
#include "gcc.h"
#include "Compiler.h"
struct config_param;
struct DatabaseSelection;

View File

@ -20,7 +20,7 @@
#ifndef MPD_DB_PRINT_H
#define MPD_DB_PRINT_H
#include "gcc.h"
#include "Compiler.h"
class SongFilter;
struct DatabaseSelection;

View File

@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_REGISTRY_HXX
#define MPD_DATABASE_REGISTRY_HXX
#include "gcc.h"
#include "Compiler.h"
struct DatabasePlugin;

View File

@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_SELECTION_HXX
#define MPD_DATABASE_SELECTION_HXX
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>
#include <stddef.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_DATABASE_SIMPLE_HXX
#define MPD_DATABASE_SIMPLE_HXX
#include "gcc.h"
#include "Compiler.h"
#include <sys/time.h>

View File

@ -22,7 +22,7 @@
#include "check.h"
#include "util/list.h"
#include "gcc.h"
#include "Compiler.h"
#include "DatabaseVisitor.hxx"
#include "PlaylistVector.hxx"

View File

@ -25,7 +25,7 @@
#ifndef MPD_EXCLUDE_H
#define MPD_EXCLUDE_H
#include "gcc.h"
#include "Compiler.h"
#include <forward_list>

View File

@ -21,7 +21,7 @@
#include "GlobalEvents.hxx"
#include "util/Manual.hxx"
#include "event/DeferredMonitor.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <atomic>

View File

@ -20,7 +20,7 @@
#ifndef MPD_IO_THREAD_HXX
#define MPD_IO_THREAD_HXX
#include "gcc.h"
#include "Compiler.h"
class EventLoop;

View File

@ -20,7 +20,7 @@
#ifndef MPD_ID_TABLE_HXX
#define MPD_ID_TABLE_HXX
#include "gcc.h"
#include "Compiler.h"
#include <algorithm>

View File

@ -21,7 +21,7 @@
#define MPD_INOTIFY_QUEUE_HXX
#include "event/TimeoutMonitor.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <list>
#include <string>

View File

@ -21,7 +21,7 @@
#define MPD_INOTIFY_SOURCE_HXX
#include "event/SocketMonitor.hxx"
#include "gcc.h"
#include "Compiler.h"
class Error;

View File

@ -23,7 +23,7 @@
#include "check.h"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <string>

View File

@ -20,7 +20,7 @@
#ifndef MPD_LOG_HXX
#define MPD_LOG_HXX
#include "gcc.h"
#include "Compiler.h"
#ifdef WIN32
#include <windows.h>

View File

@ -26,7 +26,7 @@
#include <string>
#include "gcc.h"
#include "Compiler.h"
#define PLAYLIST_FILE_SUFFIX ".m3u"

View File

@ -21,7 +21,7 @@
#define MPD_PIPE_H
#include "thread/Mutex.hxx"
#include "gcc.h"
#include "Compiler.h"
#ifndef NDEBUG
#include "AudioFormat.hxx"

View File

@ -27,7 +27,7 @@
#define OUTPUT_ALL_H
#include "ReplayGainInfo.hxx"
#include "gcc.h"
#include "Compiler.h"
struct AudioFormat;
class MusicBuffer;

View File

@ -20,7 +20,7 @@
#ifndef MPD_OUTPUT_PLUGIN_HXX
#define MPD_OUTPUT_PLUGIN_HXX
#include "gcc.h"
#include "Compiler.h"
#include <stddef.h>

View File

@ -33,7 +33,7 @@
#include "system/FatalError.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <glib.h>

View File

@ -21,7 +21,7 @@
#define MPD_PLAYLIST_INFO_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#include <string>

View File

@ -21,7 +21,7 @@
#define MPD_PLAYLIST_VECTOR_HXX
#include "PlaylistInfo.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <list>

View File

@ -20,7 +20,7 @@
#ifndef MPD_QUEUE_HXX
#define MPD_QUEUE_HXX
#include "gcc.h"
#include "Compiler.h"
#include "IdTable.hxx"
#include "util/LazyRandomEngine.hxx"

View File

@ -21,7 +21,7 @@
#define MPD_SONG_HXX
#include "util/list.h"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>
#include <sys/time.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_SONG_FILTER_HXX
#define MPD_SONG_FILTER_HXX
#include "gcc.h"
#include "Compiler.h"
#include <list>

View File

@ -22,7 +22,7 @@
#include "event/TimeoutMonitor.hxx"
#include "fs/Path.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <string>

View File

@ -20,7 +20,7 @@
#ifndef MPD_TEXT_FILE_HXX
#define MPD_TEXT_FILE_HXX
#include "gcc.h"
#include "Compiler.h"
#include <stdio.h>

View File

@ -21,7 +21,7 @@
#define MPD_UPDATE_ARCHIVE_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#include <sys/stat.h>

View File

@ -22,7 +22,7 @@
#ifdef WIN32
#include "gcc.h"
#include "Compiler.h"
#include "GlobalEvents.hxx"
#include "system/FatalError.hxx"

View File

@ -24,7 +24,7 @@
#include "event/SocketMonitor.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <glib.h>

View File

@ -26,7 +26,7 @@
#include "Listen.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "gcc.h"
#include "Compiler.h"
static constexpr Domain zeroconf_domain("zeroconf");

View File

@ -21,7 +21,7 @@
#define MPD_CUE_PARSER_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
struct Song;
struct Tag;

View File

@ -25,7 +25,7 @@
#include "PlaylistVector.hxx"
#include "Directory.hxx"
#include "Song.hxx"
#include "gcc.h"
#include "Compiler.h"
#include "ConfigData.hxx"
#include "tag/TagBuilder.hxx"
#include "util/Error.hxx"

View File

@ -22,7 +22,7 @@
#include "DatabasePlugin.hxx"
#include "fs/Path.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <cassert>

View File

@ -20,7 +20,7 @@
#include "config.h"
#include "FlacIOHandle.hxx"
#include "util/Error.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <errno.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_FLAC_IO_HANDLE_HXX
#define MPD_FLAC_IO_HANDLE_HXX
#include "gcc.h"
#include "Compiler.h"
#include "InputStream.hxx"
#include <FLAC/callback.h>

View File

@ -24,7 +24,7 @@
#include "InputStream.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
#include "gcc.h"
#include "Compiler.h"
FLAC__StreamDecoderReadStatus
FlacInput::Read(FLAC__byte buffer[], size_t *bytes)

View File

@ -20,7 +20,7 @@
#ifndef MPD_FLAC_METADATA_H
#define MPD_FLAC_METADATA_H
#include "gcc.h"
#include "Compiler.h"
#include "FlacIOHandle.hxx"
#include <FLAC/metadata.h>

View File

@ -24,7 +24,7 @@
extern "C" {
#include "util/growing_fifo.h"
}
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>
#include <string.h>

View File

@ -22,7 +22,7 @@
#include "check.h"
#include "SocketMonitor.hxx"
#include "gcc.h"
#include "Compiler.h"
struct fifo_buffer;
class Error;

View File

@ -23,7 +23,7 @@
#include "DeferredMonitor.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>

View File

@ -21,7 +21,7 @@
#define MPD_SOCKET_DEFERRED_MONITOR_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#ifdef USE_EPOLL
#include "SocketMonitor.hxx"

View File

@ -23,7 +23,7 @@
#include "check.h"
#include "BufferedSocket.hxx"
#include "util/PeakBuffer.hxx"
#include "gcc.h"
#include "Compiler.h"
/**
* A #BufferedSocket specialization that adds an output buffer.

View File

@ -22,7 +22,7 @@
#include "check.h"
#include "thread/Id.hxx"
#include "gcc.h"
#include "Compiler.h"
#ifdef USE_EPOLL
#include "system/EPollFD.hxx"

View File

@ -21,7 +21,7 @@
#include "MultiSocketMonitor.hxx"
#include "Loop.hxx"
#include "system/fd_util.h"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>

View File

@ -21,7 +21,7 @@
#define MPD_MULTI_SOCKET_MONITOR_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#ifdef USE_EPOLL
#include "IdleMonitor.hxx"

View File

@ -21,7 +21,7 @@
#include "SocketMonitor.hxx"
#include "Loop.hxx"
#include "system/fd_util.h"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>

View File

@ -29,7 +29,7 @@
#include "FilterInternal.hxx"
#include "FilterRegistry.hxx"
#include "AudioFormat.hxx"
#include "gcc.h"
#include "Compiler.h"
class NullFilter final : public Filter {
public:

View File

@ -24,7 +24,7 @@
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <glib.h>

View File

@ -21,7 +21,7 @@
#define MPD_FS_PATH_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#ifdef WIN32
#include <glib.h>

View File

@ -21,7 +21,7 @@
#define MPD_OUTPUT_HTTPD_CLIENT_HXX
#include "event/BufferedSocket.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <list>

View File

@ -24,7 +24,7 @@
#ifdef ENABLE_WINMM_OUTPUT
#include "gcc.h"
#include "Compiler.h"
#include <windows.h>
#include <mmsystem.h>

View File

@ -21,7 +21,7 @@
#define PCM_BUFFER_HXX
#include "util/ReusableArray.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <stdint.h>

View File

@ -21,7 +21,7 @@
#define MPD_PCM_MIX_HXX
#include "AudioFormat.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <stddef.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_PCM_UTILS_H
#define MPD_PCM_UTILS_H
#include "gcc.h"
#include "Compiler.h"
#include <limits>

View File

@ -21,7 +21,7 @@
#define MPD_PROTOCOL_RESULT_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#include "Ack.hxx"
#include <stdarg.h>

View File

@ -22,7 +22,7 @@
#include "EventFD.hxx"
#include "system/fd_util.h"
#include "system/FatalError.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>
#include <unistd.h>

View File

@ -21,7 +21,7 @@
#include "EventPipe.hxx"
#include "system/fd_util.h"
#include "system/FatalError.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <assert.h>
#include <unistd.h>

View File

@ -22,7 +22,7 @@
#include "check.h"
#include "gerror.h"
#include "gcc.h"
#include "Compiler.h"
class Error;

View File

@ -20,7 +20,7 @@
#ifndef MPD_RESOLVER_HXX
#define MPD_RESOLVER_HXX
#include "gcc.h"
#include "Compiler.h"
#include <stddef.h>

View File

@ -20,7 +20,7 @@
#ifndef MPD_SOCKET_ERROR_HXX
#define MPD_SOCKET_ERROR_HXX
#include "gcc.h"
#include "Compiler.h"
#include "util/Error.hxx"
#ifdef WIN32

View File

@ -20,7 +20,7 @@
#ifndef MPD_CLOCK_H
#define MPD_CLOCK_H
#include "gcc.h"
#include "Compiler.h"
#include <stdint.h>

View File

@ -22,7 +22,7 @@
#include "TagType.h"
#include "TagItem.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <algorithm>

View File

@ -21,7 +21,7 @@
#define MPD_TAG_BUILDER_HXX
#include "TagType.h"
#include "gcc.h"
#include "Compiler.h"
#include <vector>

View File

@ -21,7 +21,7 @@
#define MPD_TAG_ID3_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
struct tag_handler;
struct Tag;

View File

@ -21,7 +21,7 @@
#define MPD_TAG_ITEM_HXX
#include "TagType.h"
#include "gcc.h"
#include "Compiler.h"
/**
* One tag value. It is a mapping of #tag_type to am arbitrary string

View File

@ -21,7 +21,7 @@
#define MPD_TAG_STRING_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#include <stddef.h>

View File

@ -21,7 +21,7 @@
#define MPD_TAG_TABLE_HXX
#include "TagType.h"
#include "gcc.h"
#include "Compiler.h"
struct tag_table {
const char *name;

View File

@ -20,7 +20,7 @@
#ifndef MPD_THREAD_ID_HXX
#define MPD_THREAD_ID_HXX
#include "gcc.h"
#include "Compiler.h"
#ifdef WIN32
#include <windows.h>

View File

@ -21,7 +21,7 @@
#define MPD_ERROR_HXX
#include "check.h"
#include "gcc.h"
#include "Compiler.h"
#include <string>

View File

@ -20,7 +20,7 @@
#ifndef MPD_HUGE_ALLOCATOR_HXX
#define MPD_HUGE_ALLOCATOR_HXX
#include "gcc.h"
#include "Compiler.h"
#include <stddef.h>

View File

@ -30,7 +30,7 @@
#ifndef MPD_MANUAL_HXX
#define MPD_MANUAL_HXX
#include "gcc.h"
#include "Compiler.h"
#include <new>
#include <utility>

View File

@ -20,7 +20,7 @@
#ifndef MPD_PEAK_BUFFER_HXX
#define MPD_PEAK_BUFFER_HXX
#include "gcc.h"
#include "Compiler.h"
#include <stddef.h>

View File

@ -32,7 +32,7 @@
#include <stddef.h>
#include "gcc.h"
#include "Compiler.h"
/**
* Manager for a temporary array which grows as needed. This attempts

View File

@ -21,7 +21,7 @@
#define MPD_SLICE_BUFFER_HXX
#include "HugeAllocator.hxx"
#include "gcc.h"
#include "Compiler.h"
#include <utility>
#include <new>

View File

@ -20,7 +20,7 @@
#ifndef 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

View File

@ -20,7 +20,7 @@
#ifndef 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

View File

@ -20,7 +20,7 @@
#ifndef MPD_BIT_REVERSE_H
#define MPD_BIT_REVERSE_H
#include "gcc.h"
#include "Compiler.h"
#include <stdint.h>

View File

@ -20,7 +20,7 @@
#include "config.h"
#include "Song.hxx"
#include "directory.h"
#include "gcc.h"
#include "Compiler.h"
#include <stdlib.h>