From 227d9627f72ecd833e68f638f0f037eaceabb2ee Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Fri, 8 Feb 2008 16:52:15 +0000
Subject: [PATCH] Need to export the following so cross-compiles work better:

UNIX-SYSINFO SI-SYSNAME SI-HOSTNAME SI-RELEASE SI-VERSION SI-MACHINE
SI-ARCHITECTURE SI-HW-SERIAL SI-HW-PROVIDER SI-SRPC-DOMAIN SI-PLATFORM
SI-ISALIST SI-DHCP-CACHE

Actually only UNIX-SYSINFO, SI-MACHINE, and SI-PLATFORM are needed
(sparc-svr4-vm.lisp) but let's export them all since they're in
exports.lisp.
---
 code/unix.lisp | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/code/unix.lisp b/code/unix.lisp
index d3c1aa4e2..e9a7edab2 100644
--- a/code/unix.lisp
+++ b/code/unix.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix.lisp,v 1.117 2007/12/21 08:46:48 cshapiro Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix.lisp,v 1.118 2008/02/08 16:52:15 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -3279,6 +3279,12 @@
 	      #+freebsd 256
 	      (addr names))))
 
+#+(and solaris svr4)
+(export '(unix-sysinfo
+	  si-sysname si-hostname si-release si-version si-machine
+	  si-architecture si-hw-serial si-hw-provider si-srpc-domain
+	  si-platform si-isalist si-dhcp-cache))
+
 #+(and solaris svr4)
 (progn
 (def-alien-routine sysinfo long
-- 
GitLab