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
This commit is contained in:
Daniel Kochmański 2016-01-23 17:50:28 +01:00
parent d212dd39c6
commit 7812f236a5

View file

@ -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 <sys/utsname.h>
")
#+(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;