pkgsrc/devel/bcc/patches/patch-ad
1998-07-17 04:39:19 +00:00

14 lines
360 B
Text

$NetBSD: patch-ad,v 1.1 1998/07/17 04:45:57 tsarna Exp $
bin86 uses BIG_ENDIAN in silly ways.
--- ld/readobj.c.orig Thu Jul 16 14:13:12 1998
+++ ld/readobj.c Thu Jul 16 14:13:21 1998
@@ -15,6 +15,7 @@
unsigned long strtoul P((const char *s, char **endptr, int base));
#else
#undef NULL
+#undef BIG_ENDIAN
#include <stdlib.h>
#include <string.h>
#endif