From: Eli Zaretskii Date: Sat, 1 May 2004 17:39:43 +0000 (+0000) Subject: (top-level): Add "#pragma pack(0)" after , to X-Git-Tag: ttn-vms-21-2-B4~6473 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=affa509c00e901f09f68a96bdfe199164b0c2640;p=emacs.git (top-level): Add "#pragma pack(0)" after , to undo bad effect of pack(4) in some versions of system headers. --- diff --git a/src/ChangeLog b/src/ChangeLog index 46dbdcb2fc0..e859945b3f7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-05-01 Eli Zaretskii + + * msdos.c (top-level): Add "#pragma pack(0)" after , to + undo bad effect of pack(4) in some versions of system headers. + 2004-05-01 Jason Rumney * w32term.c (x_draw_hollow_cursor): Sync with xterm.c diff --git a/src/msdos.c b/src/msdos.c index 47fdf7fa03d..6134c1beabe 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */ #include /* for chdir, dup, dup2, etc. */ #include /* for getdisk */ #if __DJGPP__ >= 2 +#pragma pack(0) /* dir.h does a pack(4), which isn't GCC's default */ #include #include /* for setmode */ #include /* for __dpmi_xxx stuff */