summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/cdutils.h6
1 files changed, 5 insertions, 1 deletions
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;