From 23b21e9fa28cb317a86e2e8cfb1c8548d708f32f Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 5 Sep 2003 15:28:29 +0000 Subject: Fixed more things... I'm starting to like MSVC! THAT'S NO GOOD! --- includes/cdutils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/cdutils.h b/includes/cdutils.h index 0fe4638..91bb54c 100644 --- a/includes/cdutils.h +++ b/includes/cdutils.h @@ -31,12 +31,16 @@ extern const long sec_sizes[]; extern const long sec_offsts[]; extern const String sec_modes[]; +#ifdef _WIN32 +#pragma pack(1) +#endif + class cdutils : public Base { public: cdutils(Handle * f_iso_r, Handle * f_iso_w = 0); virtual ~cdutils(); - struct DirEntry { + PPACKED struct DirEntry { unsigned char R; unsigned char NExt; unsigned long Sector; -- cgit v1.2.3