pkgsrc/devel/bcc/patches/patch-ad

14 lines
389 B
Text

$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