aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--src/ConfigParser.cpp1
-rw-r--r--src/DabMod.cpp1
-rw-r--r--src/Flowgraph.h1
-rw-r--r--src/FormatConverter.h1
-rw-r--r--src/InputFileReader.cpp1
-rw-r--r--src/InputReader.h1
-rw-r--r--src/InputZeroMQReader.cpp1
-rw-r--r--src/NullSymbol.h1
-rw-r--r--src/Resampler.h1
-rw-r--r--src/porting.c26
-rw-r--r--src/porting.h34
12 files changed, 0 insertions, 71 deletions
diff --git a/Makefile.am b/Makefile.am
index 8393698..9f53e32 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,8 +45,6 @@ odr_dabmod_LDADD = $(FFT_LDADD) $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB) $(BOOST_
odr_dabmod_SOURCES = src/DabMod.cpp \
src/PcDebug.h \
src/Socket.h \
- src/porting.c \
- src/porting.h \
src/DabModulator.cpp \
src/DabModulator.h \
src/Buffer.cpp \
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 33e6219..b593e61 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -34,7 +34,6 @@
#include <boost/property_tree/ini_parser.hpp>
#include "ConfigParser.h"
-#include "porting.h"
#include "Utils.h"
#include "Log.h"
#include "DabModulator.h"
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index fec128d..90751f6 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -29,7 +29,6 @@
# include "config.h"
#endif
-#include "porting.h"
#include "Utils.h"
#include "Log.h"
#include "DabModulator.h"
diff --git a/src/Flowgraph.h b/src/Flowgraph.h
index b074ee6..08ead14 100644
--- a/src/Flowgraph.h
+++ b/src/Flowgraph.h
@@ -30,7 +30,6 @@
# include <config.h>
#endif
-#include "porting.h"
#include "ModPlugin.h"
#include <memory>
diff --git a/src/FormatConverter.h b/src/FormatConverter.h
index ce848b6..4370314 100644
--- a/src/FormatConverter.h
+++ b/src/FormatConverter.h
@@ -32,7 +32,6 @@
# include <config.h>
#endif
-#include "porting.h"
#include "ModPlugin.h"
#include <complex>
#include <string>
diff --git a/src/InputFileReader.cpp b/src/InputFileReader.cpp
index 5e93477..5d4d113 100644
--- a/src/InputFileReader.cpp
+++ b/src/InputFileReader.cpp
@@ -39,7 +39,6 @@
#include <errno.h>
#include <stdint.h>
#include <sys/stat.h>
-#include "porting.h"
#include "InputReader.h"
#include "PcDebug.h"
diff --git a/src/InputReader.h b/src/InputReader.h
index 07326cf..5b9e80a 100644
--- a/src/InputReader.h
+++ b/src/InputReader.h
@@ -39,7 +39,6 @@
# include "zmq.hpp"
# include "ThreadsafeQueue.h"
#endif
-#include "porting.h"
#include "Log.h"
#include <unistd.h>
#define INVALID_SOCKET -1
diff --git a/src/InputZeroMQReader.cpp b/src/InputZeroMQReader.cpp
index f6a816a..1bb325f 100644
--- a/src/InputZeroMQReader.cpp
+++ b/src/InputZeroMQReader.cpp
@@ -37,7 +37,6 @@
#include <stdint.h>
#include "zmq.hpp"
#include <boost/thread/thread.hpp>
-#include "porting.h"
#include "InputReader.h"
#include "PcDebug.h"
#include "Utils.h"
diff --git a/src/NullSymbol.h b/src/NullSymbol.h
index 8840449..814e434 100644
--- a/src/NullSymbol.h
+++ b/src/NullSymbol.h
@@ -30,7 +30,6 @@
# include "config.h"
#endif
-#include "porting.h"
#include "ModPlugin.h"
#include <sys/types.h>
diff --git a/src/Resampler.h b/src/Resampler.h
index ed94a8c..2886f57 100644
--- a/src/Resampler.h
+++ b/src/Resampler.h
@@ -30,7 +30,6 @@
# include <config.h>
#endif
-#include "porting.h"
#include "ModPlugin.h"
#include <sys/types.h>
#include <fftw3.h>
diff --git a/src/porting.c b/src/porting.c
deleted file mode 100644
index f7421b0..0000000
--- a/src/porting.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- Copyright (C) 2007, 2008, 2009, 2010 Her Majesty the Queen in
- Right of Canada (Communications Research Center Canada)
- */
-/*
- This file is part of ODR-DabMod.
-
- ODR-DabMod 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 3 of the
- License, or (at your option) any later version.
-
- ODR-DabMod 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 ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "porting.h"
-
-#ifdef _WIN32
-unsigned int _CRT_fmode = _O_BINARY;
-#endif
diff --git a/src/porting.h b/src/porting.h
deleted file mode 100644
index 1799ba7..0000000
--- a/src/porting.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- Copyright (C) 2007, 2008, 2009, 2010 Her Majesty the Queen in
- Right of Canada (Communications Research Center Canada)
- */
-/*
- This file is part of ODR-DabMod.
-
- ODR-DabMod 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 3 of the
- License, or (at your option) any later version.
-
- ODR-DabMod 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 ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#ifdef _WIN32
-#include <fcntl.h>
-// For setting default opening mode with fopen as binary, for all files
-// including stdin and stdout
-extern unsigned int _CRT_fmode;
-#endif
-