pkgsrc/lang/pc-lisp/patches/patch-src_lisp.h
kamil 7af7f94243 lang/pc-lisp: import pc-lisp-6.0
PC-LISP is a small implementation of LISP for just about any machine with a
good C compiler. This manual is biased towards the UNIX and MS-DOS versions.

While small, it is capable of running a pretty good subset of Franz LISP.
The functions are supposed to perform in the same way as Franz with a few
exceptions made for effeciencies sake.
2018-02-03 20:26:31 +00:00

25 lines
699 B
C

$NetBSD: patch-src_lisp.h,v 1.1 2018/02/03 20:26:31 kamil Exp $
Port to NetBSD.
--- src/lisp.h.orig 2015-07-22 00:49:58.000000000 +0000
+++ src/lisp.h
@@ -39,6 +39,9 @@
#if RTPC
# undef IBM_RT_AIX
# define IBM_RT_AIX 1
+#elif defined(__NetBSD__)
+# undef BERKELEY_UNIX
+# define BERKELEY_UNIX 1
#else
# if RS6000
# undef IBM_RT_AIX
@@ -1183,8 +1186,3 @@ extern int liScanLineNum;
#define OPK_LIT2 4 /* has two <lit> args */
#define OPK_INTERNAL 5 /* state change operation, arguments are internal to byte machine */
#define OPK_N1 6 /* operation uses a single <n> argument */
-
-
-
-
-