mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
improve uname for windows
This commit is contained in:
parent
519751aa04
commit
351157c0e3
|
|
@ -203,7 +203,9 @@ install_roswell () {
|
|||
fi
|
||||
}
|
||||
|
||||
install_sbcl_bin () {}
|
||||
install_sbcl_bin () {
|
||||
true
|
||||
}
|
||||
|
||||
install_lisp_dependency () {
|
||||
case "$USE_LISP" in
|
||||
|
|
|
|||
|
|
@ -18,6 +18,11 @@ char* uname_s(void) {
|
|||
}
|
||||
|
||||
char* uname_m(void) {
|
||||
char* carch=getenv("MSYSTEM_CARCH");
|
||||
if(carch && strcmp(carch,"x86_64")==0)
|
||||
return q("x86-64");
|
||||
if(carch && strcmp(carch,"i686")==0)
|
||||
return q("x86");
|
||||
char* msystem=getenv("MSYSTEM");
|
||||
if(msystem && strcmp(msystem,"MINGW64")==0)
|
||||
return q("x86-64");
|
||||
|
|
|
|||
Loading…
Reference in a new issue