diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-09-10 12:03:24 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-09-10 12:03:24 +0200 |
commit | 90e9f058450cfb8bc2f06b02c60ba8cb533c2738 (patch) | |
tree | c7d74e890c59ee258d018cf78441a896e24ffb1e /src/mpeg.h | |
parent | 1b6ce454b7538e5847c30c39c8d4acdbdec810f4 (diff) | |
download | dabmux-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.h | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -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 |