projects/aports·blob master · refs

21 lines · 544 B

1--- ./ld/x86_aout.h.orig
2+++ ./ld/x86_aout.h
3@@ -11,17 +11,12 @@
4 /* If the host isn't an x86 all bets are off, use chars. */
5 #if defined(i386) || defined(__BCC__) || defined(MSDOS)
6 typedef long Long;
7-#define __OUT_OK 1
8 #else
9 /* Beware: this will probably allow some BE hosts to generate broken files. */
10-#ifdef INT32_MAX
11 #include <stdint.h>
12 typedef int32_t Long;
13-#define __OUT_OK 1
14-#else
15-typedef char Long[4];
16 #endif
17-#endif
18+#define __OUT_OK 1
19
20 struct exec { /* a.out header */
21 unsigned char a_magic[2]; /* magic number */