aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpeg.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2025-09-10 12:03:24 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2025-09-10 12:03:24 +0200
commit90e9f058450cfb8bc2f06b02c60ba8cb533c2738 (patch)
treec7d74e890c59ee258d018cf78441a896e24ffb1e /src/mpeg.h
parent1b6ce454b7538e5847c30c39c8d4acdbdec810f4 (diff)
downloaddabmux-90e9f058450cfb8bc2f06b02c60ba8cb533c2738.tar.gz
dabmux-90e9f058450cfb8bc2f06b02c60ba8cb533c2738.tar.bz2
dabmux-90e9f058450cfb8bc2f06b02c60ba8cb533c2738.zip
Remove some old _WIN32 ifdefs, restructure includes
Diffstat (limited to 'src/mpeg.h')
-rw-r--r--src/mpeg.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mpeg.h b/src/mpeg.h
index 15b9b80..29b3655 100644
--- a/src/mpeg.h
+++ b/src/mpeg.h
@@ -18,23 +18,13 @@
You should have received a copy of the GNU General Public License
along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#ifndef _MPEG
-#define _MPEG
+#pragma once
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
-#ifdef _WIN32
-# include <stddef.h>
-# include <basetsd.h>
-# include <io.h>
-
-# define ssize_t SSIZE_T
-#else
-# include <unistd.h>
-#endif
+#include <unistd.h>
#ifdef __cplusplus
extern "C" {
@@ -86,4 +76,3 @@ int checkDabMpegFrame(void* data);
}
#endif
-#endif // _MPEG