aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-24 17:46:12 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-24 17:46:12 +0100
commitf269f0afea3fc677962cc62354802e6786de3f00 (patch)
treebdf3a5a5d08e0f16a6796b546022a5ecaf4a5355 /src
parent0a07b6c5cb772d09a2a50ff6a7f1ae0bfef657a0 (diff)
downloaddabmod-f269f0afea3fc677962cc62354802e6786de3f00.tar.gz
dabmod-f269f0afea3fc677962cc62354802e6786de3f00.tar.bz2
dabmod-f269f0afea3fc677962cc62354802e6786de3f00.zip
Remove porting.c
Diffstat (limited to 'src')
-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
11 files changed, 0 insertions, 69 deletions
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
-