aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig/FIG2.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/fig/FIG2.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/fig/FIG2.h')
-rw-r--r--src/fig/FIG2.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/fig/FIG2.h b/src/fig/FIG2.h
index ee3fed9..e69c5db 100644
--- a/src/fig/FIG2.h
+++ b/src/fig/FIG2.h
@@ -22,9 +22,7 @@
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 __FIG2_H_
-#define __FIG2_H_
+#pragma once
#include <cstdint>
#include <map>
@@ -117,10 +115,6 @@ class FIG2_4 : public IFIG
std::map<std::pair<uint32_t, uint8_t>, FIG2_Segments> segment_per_component;
};
-#ifdef _WIN32
-# pragma pack(push)
-#endif
-
struct FIGtype2 {
uint8_t Length:5;
uint8_t FIGtypeNumber:3;
@@ -159,11 +153,5 @@ struct FIG2_Extended_Label_WithTextControl {
uint8_t EncodingFlag:1;
} PACKED;
-#ifdef _WIN32
-# pragma pack(pop)
-#endif
-
} // namespace FIC
-#endif // __FIG2_H_
-