summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorpixel <pixel>2003-09-05 15:28:29 +0000
committerpixel <pixel>2003-09-05 15:28:29 +0000
commit23b21e9fa28cb317a86e2e8cfb1c8548d708f32f (patch)
tree87ee5ed995a74ad792a7c86392307e10ff13d75b /includes
parent4a5e6ba6ba48ced51222dbda36a3d3dd99d75ec5 (diff)
Fixed more things... I'm starting to like MSVC! THAT'S NO GOOD!
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;