mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 18:00:28 +00:00
simplify if statement
This commit is contained in:
parent
89b774fb3f
commit
c3a0808999
1 changed files with 1 additions and 4 deletions
|
@ -117,10 +117,7 @@ wontreturn textstartup void cosmo(long *sp, struct Syslib *m1, char *exename,
|
|||
__program_executable_name = exename;
|
||||
program_invocation_name = argv[0];
|
||||
__oldstack = (intptr_t)sp;
|
||||
if (os) {
|
||||
hostos = os;
|
||||
} else {
|
||||
/* old/no loader */
|
||||
if (!(hostos = os)) {
|
||||
if (SupportsFreebsd() && is_freebsd) {
|
||||
hostos = _HOSTFREEBSD;
|
||||
} else if (SupportsXnu() && m1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue