aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am9
-rw-r--r--test/dump_text_file.cxx1
-rw-r--r--test/run_convert.cxx1
-rw-r--r--test/run_decoder.cxx1
-rw-r--r--test/run_filter.cxx1
-rw-r--r--test/run_input.cxx1
-rw-r--r--test/run_normalize.cxx1
-rw-r--r--test/run_output.cxx1
-rw-r--r--test/software_volume.cxx1
-rw-r--r--test/stdbin.h29
-rw-r--r--test/visit_archive.cxx1
11 files changed, 0 insertions, 47 deletions
diff --git a/Makefile.am b/Makefile.am
index d4f5e5090..92fe0eddc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1657,7 +1657,6 @@ test_run_input_LDADD = \
libutil.a
test_run_input_SOURCES = test/run_input.cxx \
test/ScopeIOThread.hxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/IOThread.cxx \
src/TagSave.cxx
@@ -1749,7 +1748,6 @@ test_dump_text_file_LDADD = \
libutil.a
test_dump_text_file_SOURCES = test/dump_text_file.cxx \
test/ScopeIOThread.hxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/IOThread.cxx
@@ -1801,7 +1799,6 @@ test_run_decoder_LDADD = \
test_run_decoder_SOURCES = test/run_decoder.cxx \
test/FakeDecoderAPI.cxx test/FakeDecoderAPI.hxx \
test/ScopeIOThread.hxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/IOThread.cxx \
src/ReplayGainInfo.cxx \
@@ -1851,7 +1848,6 @@ test_run_filter_LDADD = \
libutil.a
test_run_filter_SOURCES = test/run_filter.cxx \
test/FakeReplayGainConfig.cxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/filter/FilterPlugin.cxx src/filter/FilterRegistry.cxx \
src/CheckAudioFormat.cxx \
@@ -1862,7 +1858,6 @@ test_run_filter_SOURCES = test/run_filter.cxx \
if ENABLE_ENCODER
noinst_PROGRAMS += test/run_encoder
test_run_encoder_SOURCES = test/run_encoder.cxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/CheckAudioFormat.cxx \
src/AudioFormat.cxx \
@@ -1882,7 +1877,6 @@ endif
if ENABLE_VORBISENC
noinst_PROGRAMS += test/test_vorbis_encoder
test_test_vorbis_encoder_SOURCES = test/test_vorbis_encoder.cxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/CheckAudioFormat.cxx \
src/AudioFormat.cxx \
@@ -1902,7 +1896,6 @@ test_test_vorbis_encoder_LDADD = $(MPD_LIBS) \
endif
test_software_volume_SOURCES = test/software_volume.cxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/AudioFormat.cxx src/CheckAudioFormat.cxx \
src/AudioParser.cxx
@@ -1924,7 +1917,6 @@ test_run_avahi_LDADD = \
$(AVAHI_LIBS)
test_run_normalize_SOURCES = test/run_normalize.cxx \
- test/stdbin.h \
src/CheckAudioFormat.cxx \
src/AudioCompress/compress.c \
src/AudioParser.cxx
@@ -1962,7 +1954,6 @@ test_run_output_LDADD = $(MPD_LIBS) \
test_run_output_SOURCES = test/run_output.cxx \
test/FakeReplayGainConfig.cxx \
test/ScopeIOThread.hxx \
- test/stdbin.h \
src/Log.cxx src/LogBackend.cxx \
src/IOThread.cxx \
src/CheckAudioFormat.cxx \
diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx
index 686adb744..a207b3400 100644
--- a/test/dump_text_file.cxx
+++ b/test/dump_text_file.cxx
@@ -23,7 +23,6 @@
#include "input/InputStream.hxx"
#include "input/TextInputStream.hxx"
#include "config/ConfigGlobal.hxx"
-#include "stdbin.h"
#include "util/Error.hxx"
#include "thread/Cond.hxx"
#include "Log.hxx"
diff --git a/test/run_convert.cxx b/test/run_convert.cxx
index 1929d6c02..01cace0c3 100644
--- a/test/run_convert.cxx
+++ b/test/run_convert.cxx
@@ -31,7 +31,6 @@
#include "util/StaticFifoBuffer.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
-#include "stdbin.h"
#include <assert.h>
#include <stddef.h>
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index ebebc1188..35d55cedf 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -28,7 +28,6 @@
#include "AudioFormat.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
-#include "stdbin.h"
#include <assert.h>
#include <unistd.h>
diff --git a/test/run_filter.cxx b/test/run_filter.cxx
index d743937d5..6499b9631 100644
--- a/test/run_filter.cxx
+++ b/test/run_filter.cxx
@@ -27,7 +27,6 @@
#include "filter/FilterInternal.hxx"
#include "pcm/Volume.hxx"
#include "mixer/MixerControl.hxx"
-#include "stdbin.h"
#include "util/Error.hxx"
#include "util/ConstBuffer.hxx"
#include "system/FatalError.hxx"
diff --git a/test/run_input.cxx b/test/run_input.cxx
index 9cce593ef..6d51b3749 100644
--- a/test/run_input.cxx
+++ b/test/run_input.cxx
@@ -19,7 +19,6 @@
#include "config.h"
#include "TagSave.hxx"
-#include "stdbin.h"
#include "tag/Tag.hxx"
#include "config/ConfigGlobal.hxx"
#include "input/InputStream.hxx"
diff --git a/test/run_normalize.cxx b/test/run_normalize.cxx
index 881ff4696..092deab59 100644
--- a/test/run_normalize.cxx
+++ b/test/run_normalize.cxx
@@ -28,7 +28,6 @@
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
#include "util/Error.hxx"
-#include "stdbin.h"
#include <stddef.h>
#include <stdio.h>
diff --git a/test/run_output.cxx b/test/run_output.cxx
index 0b8f0b55a..5100e8b44 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -32,7 +32,6 @@
#include "pcm/PcmConvert.hxx"
#include "filter/FilterRegistry.hxx"
#include "player/Control.hxx"
-#include "stdbin.h"
#include "util/Error.hxx"
#include "Log.hxx"
diff --git a/test/software_volume.cxx b/test/software_volume.cxx
index 7aa89ec0c..a0dd207a7 100644
--- a/test/software_volume.cxx
+++ b/test/software_volume.cxx
@@ -29,7 +29,6 @@
#include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Error.hxx"
-#include "stdbin.h"
#include "Log.hxx"
#include <stdio.h>
diff --git a/test/stdbin.h b/test/stdbin.h
deleted file mode 100644
index d69bbb4ee..000000000
--- a/test/stdbin.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2003-2015 The Music Player Daemon Project
- * http://www.musicpd.org
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef MPD_STDBIN_H
-#define MPD_STDBIN_H
-
-#ifdef WIN32
-#include <fcntl.h>
-/** set binary mode on stdin/stdout */
-int _CRT_fmode = _O_BINARY;
-#endif
-
-#endif
diff --git a/test/visit_archive.cxx b/test/visit_archive.cxx
index 5e8634def..1e59746bd 100644
--- a/test/visit_archive.cxx
+++ b/test/visit_archive.cxx
@@ -18,7 +18,6 @@
*/
#include "config.h"
-#include "stdbin.h"
#include "tag/Tag.hxx"
#include "config/ConfigGlobal.hxx"
#include "ScopeIOThread.hxx"