pkgsrc/devel/bcc/patches/patch-ad

15 lines
389 B
Text
Raw Normal View History

$NetBSD: patch-ad,v 1.2 2006/10/10 06:56:05 uebayasi Exp $
1998-07-17 06:39:19 +02:00
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
1998-07-17 06:39:19 +02:00
unsigned long strtoul P((const char *s, char **endptr, int base));
#else
#undef NULL
+#undef BIG_ENDIAN
#include <stdlib.h>
#include <string.h>
#endif