mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 03:47:16 +02:00
21 lines
544 B
Diff
21 lines
544 B
Diff
--- ./ld/x86_aout.h.orig
|
|
+++ ./ld/x86_aout.h
|
|
@@ -11,17 +11,12 @@
|
|
/* If the host isn't an x86 all bets are off, use chars. */
|
|
#if defined(i386) || defined(__BCC__) || defined(MSDOS)
|
|
typedef long Long;
|
|
-#define __OUT_OK 1
|
|
#else
|
|
/* Beware: this will probably allow some BE hosts to generate broken files. */
|
|
-#ifdef INT32_MAX
|
|
#include <stdint.h>
|
|
typedef int32_t Long;
|
|
-#define __OUT_OK 1
|
|
-#else
|
|
-typedef char Long[4];
|
|
#endif
|
|
-#endif
|
|
+#define __OUT_OK 1
|
|
|
|
struct exec { /* a.out header */
|
|
unsigned char a_magic[2]; /* magic number */
|