* FreeBSD fixes/updates from Andreas Kohn

This commit is contained in:
Tim Angus committed 2005-09-25 22:04:51 +00:00
1 parent 6ceb4a64e4
commit 4bc5c29115
8 files changed
+81 -28

No files matched your search

+2 -2
View File
@@ -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)