diff options
| author | Richard M. Stallman | 1994-05-22 19:55:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-22 19:55:13 +0000 |
| commit | 234d3183f31c64bec12f3b2d50f75d5aabc1f0a2 (patch) | |
| tree | 1e23bccbb803857c0fee545709b03c238c9cf032 /src/unexec.c | |
| parent | b8a0abf2def982c318bb2dc97382bdfa0146238f (diff) | |
| download | emacs-234d3183f31c64bec12f3b2d50f75d5aabc1f0a2.tar.gz emacs-234d3183f31c64bec12f3b2d50f75d5aabc1f0a2.zip | |
[MSDOS]: Don't include files from the dos extender
and debugger. Use the <coff.h> that was put in the right place
a couple of djgpp versions ago. Consequently, use `unsigned short'
for `word16' and `unsigned long' for `word32'.
Diffstat (limited to 'src/unexec.c')
| -rw-r--r-- | src/unexec.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/unexec.c b/src/unexec.c index 3cb2941be05..3bc147fec47 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -177,8 +177,7 @@ int need_coff_header = 1; | |||
| 177 | #include <coff-encap/a.out.encap.h> /* The location might be a poor assumption */ | 177 | #include <coff-encap/a.out.encap.h> /* The location might be a poor assumption */ |
| 178 | #else | 178 | #else |
| 179 | #ifdef MSDOS | 179 | #ifdef MSDOS |
| 180 | #include <../go32/gotypes.h> | 180 | #include <coff.h> |
| 181 | #include <../go32/ed/coff.h> | ||
| 182 | #define filehdr external_filehdr | 181 | #define filehdr external_filehdr |
| 183 | #define scnhdr external_scnhdr | 182 | #define scnhdr external_scnhdr |
| 184 | #define syment external_syment | 183 | #define syment external_syment |
| @@ -187,14 +186,14 @@ int need_coff_header = 1; | |||
| 187 | #define n_type e_type | 186 | #define n_type e_type |
| 188 | struct aouthdr | 187 | struct aouthdr |
| 189 | { | 188 | { |
| 190 | word16 magic; /* type of file */ | 189 | unsigned short magic; /* type of file */ |
| 191 | word16 vstamp; /* version stamp */ | 190 | unsigned short vstamp; /* version stamp */ |
| 192 | word32 tsize; /* text size in bytes, padded to FW bdry*/ | 191 | unsigned long tsize; /* text size in bytes, padded to FW bdry*/ |
| 193 | word32 dsize; /* initialized data " " */ | 192 | unsigned long dsize; /* initialized data " " */ |
| 194 | word32 bsize; /* uninitialized data " " */ | 193 | unsigned long bsize; /* uninitialized data " " */ |
| 195 | word32 entry; /* entry pt. */ | 194 | unsigned long entry; /* entry pt. */ |
| 196 | word32 text_start; /* base of text used for this file */ | 195 | unsigned long text_start;/* base of text used for this file */ |
| 197 | word32 data_start; /* base of data used for this file */ | 196 | unsigned long data_start;/* base of data used for this file */ |
| 198 | }; | 197 | }; |
| 199 | 198 | ||
| 200 | 199 | ||