mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 09:51:21 +00:00
* FreeBSD fixes/updates from Andreas Kohn
This commit is contained in:
parent
6ceb4a64e4
commit
4bc5c29115
8 changed files with 81 additions and 28 deletions
|
@ -76,7 +76,7 @@ int Sys_Milliseconds (void)
|
|||
return curtime;
|
||||
}
|
||||
|
||||
#if defined(__linux__) && !defined(DEDICATED)
|
||||
#if (defined(__linux__) || defined(__FreeBSD__)) && !defined(DEDICATED)
|
||||
/*
|
||||
================
|
||||
Sys_XTimeToSysTime
|
||||
|
@ -425,7 +425,7 @@ char *Sys_GetCurrentUser( void )
|
|||
return p->pw_name;
|
||||
}
|
||||
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
// TTimo
|
||||
// sysconf() in libc, POSIX.1 compliant
|
||||
unsigned int Sys_ProcessorCount(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue