pkgsrc/devel/lcc/patches/patch-ad
dmcmahill c7f77d1028 fix compilation on alpha. Also add missing header. While here, disable
on non-i386 because lcc appears to emit i386 assembly code even on my alpha.
There appears to be some amount of work involved with porting this to
non-i386.
2002-04-06 16:49:15 +00:00

13 lines
266 B
Text

$NetBSD: patch-ad,v 1.1 2002/04/06 16:49:16 dmcmahill Exp $
--- cpp/cpp.h.orig Mon May 26 16:19:10 1997
+++ cpp/cpp.h
@@ -11,7 +11,7 @@
#define NULL 0
#endif
-#ifndef __alpha
+#if defined(__NetBSD__) || !defined(__alpha)
typedef unsigned char uchar;
#endif