diff options
Diffstat (limited to 'bfd/hosts')
-rw-r--r-- | bfd/hosts/.Sanitize | 1 | ||||
-rw-r--r-- | bfd/hosts/i386pe.h | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize index 7425482..e466e1b 100644 --- a/bfd/hosts/.Sanitize +++ b/bfd/hosts/.Sanitize @@ -48,6 +48,7 @@ i386lynx.h i386mach3.h i386nbsd.h i386osf1mk.h +i386pe.h i386sco.h i386v.h i386v4.h diff --git a/bfd/hosts/i386pe.h b/bfd/hosts/i386pe.h new file mode 100644 index 0000000..c4d8532 --- /dev/null +++ b/bfd/hosts/i386pe.h @@ -0,0 +1,20 @@ +#include <stddef.h> +#include <fcntl.h> +#include <errno.h> +#include <stdio.h> +#include <ctype.h> +#include <string.h> +#include <stdlib.h> +#include <sys/stat.h> +#define FPRINTF_ALREADY_DECLARED + +#ifndef O_ACCMODE +#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) +#endif +#define SEEK_SET 0 +#define SEEK_CUR 1 + +#define NO_FCNTL + +#include "fopen-bin.h" + |