From 7812f236a5ce4c4903708bf3b1c2bfb88e7d8833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Sat, 23 Jan 2016 17:50:28 +0100 Subject: [PATCH] config.lsp.in: uname: fix build for windows platform (mingw32) Windows doesn't have `sys/utsname.h' and uname in current form can't be used. It was carefully foreseen by a previous maintainer and works OK, but the problem emerges when cross-compiling from linux. Fixes --- src/lsp/config.lsp.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lsp/config.lsp.in b/src/lsp/config.lsp.in index 7d69b395d..e8bed39fb 100644 --- a/src/lsp/config.lsp.in +++ b/src/lsp/config.lsp.in @@ -7,12 +7,12 @@ ;; (in-package "LISP") -#+(and (not ecl-min) (not nacl) uname) +#+(and (not ecl-min) (not nacl) (not :mingw32) (not :msvc) (not :cygwin) uname) (ffi:clines " #include ") -#+(and (not ecl-min) (not nacl) uname) +#+(and (not ecl-min) (not nacl) (not :mingw32) (not :msvc) (not :cygwin) uname) (defun uname () (ffi:c-inline () () :object "{ cl_object output;