Mercurial > emacs
changeset 55292:d9dc976b92ba
(top-level): Add "#pragma pack(0)" after <dir.h>, to
undo bad effect of pack(4) in some versions of system headers.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 01 May 2004 17:38:42 +0000 |
parents | 0da869ea68e0 |
children | 82a665f80016 |
files | src/msdos.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/msdos.c Sat May 01 13:55:16 2004 +0000 +++ b/src/msdos.c Sat May 01 17:38:42 2004 +0000 @@ -40,6 +40,7 @@ #include <unistd.h> /* for chdir, dup, dup2, etc. */ #include <dir.h> /* for getdisk */ #if __DJGPP__ >= 2 +#pragma pack(0) /* dir.h does a pack(4), which isn't GCC's default */ #include <fcntl.h> #include <io.h> /* for setmode */ #include <dpmi.h> /* for __dpmi_xxx stuff */