summaryrefslogtreecommitdiff
path: root/devel/bcc/patches/patch-ad
blob: 6d037a622eefd27687d6562813b53f97bd50ce27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.2 2006/10/10 06:56:05 uebayasi Exp $

bin86 uses BIG_ENDIAN in silly ways.

--- ld/readobj.c.orig	1994-02-19 23:36:05.000000000 +0100
+++ ld/readobj.c
@@ -15,6 +15,7 @@ char *strncpy P((char *dest, const char 
 unsigned long strtoul P((const char *s, char **endptr, int base));
 #else
 #undef NULL
+#undef BIG_ENDIAN
 #include <stdlib.h>
 #include <string.h>
 #endif