summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2006-07-17 16:10:07 +0000
committerpixel <pixel>2006-07-17 16:10:07 +0000
commit3712d0a948d336ad8a61b72fd203a92a46e867f2 (patch)
tree97b5020fcb8b53876386865ef93a5b51fce7808d
parentcd1cf1f35f497e37f4ecd1c63ea56896b203d8da (diff)
Let's pack the MSVC way... *sigh*
-rw-r--r--includes/cdutils.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/includes/cdutils.h b/includes/cdutils.h
index c463908..5978c15 100644
--- a/includes/cdutils.h
+++ b/includes/cdutils.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cdutils.h,v 1.19 2005-11-02 21:34:02 pixel Exp $ */
+/* $Id: cdutils.h,v 1.20 2006-07-17 16:10:07 pixel Exp $ */
#ifndef __CDUTILS_H__
#define __CDUTILS_H__
@@ -47,8 +47,11 @@ class cdutils : public Base {
public:
cdutils(Handle * f_iso_r, Handle * f_iso_w = 0);
virtual ~cdutils();
-
- PPACKED struct DirEntry {
+#ifdef _MSC_VER
+#pragma pack(push)
+#pragma pack(1)
+#endif
+ struct DirEntry {
unsigned char R;
unsigned char NExt;
unsigned long Sector;
@@ -70,6 +73,9 @@ class cdutils : public Base {
unsigned char N;
char id[1];
} PACKED;
+#ifdef _MSC_VER
+#pragma pack(pop)
+#endif
struct DirEntry * rootDir;