You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.2 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../bin86/bin86-long.patch
# Copyright (C) 2015 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./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 */