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/Eti.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/Eti.h')
| -rw-r--r-- | src/Eti.h | 18 |
1 files changed, 3 insertions, 15 deletions
@@ -29,24 +29,12 @@ # include <config.h> #endif -#ifdef _WIN32 -# include <winsock2.h> // For types... -typedef WORD uint16_t; -typedef DWORD32 uint32_t; - -# define PACKED -# pragma pack(push, 1) -#else -# include <stdint.h> -# include <time.h> - -# define PACKED __attribute__ ((packed)) -#endif - +#include <cstdint> +#include <ctime> +#define PACKED __attribute__ ((packed)) //definitions des structures des champs du ETI(NI, G703) - struct eti_SYNC { uint32_t ERR:8; uint32_t FSYNC:24; |
