aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/unix_shared.c
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-25 22:04:51 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-25 22:04:51 +0000
commit4a17650af74aa4b90c0c258d3aedff49ab2ac60b (patch)
tree63833dadee0795214a880808bae36c7081aaf430 /code/unix/unix_shared.c
parent2202e36a35f4534b340b45b876482b1f6bf2a955 (diff)
downloadioquake3-aero-4a17650af74aa4b90c0c258d3aedff49ab2ac60b.tar.gz
ioquake3-aero-4a17650af74aa4b90c0c258d3aedff49ab2ac60b.zip
* FreeBSD fixes/updates from Andreas Kohn
git-svn-id: svn://svn.icculus.org/quake3/trunk@107 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/unix_shared.c')
-rw-r--r--code/unix/unix_shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/unix/unix_shared.c b/code/unix/unix_shared.c
index e3d0dad..b39abc8 100644
--- a/code/unix/unix_shared.c
+++ b/code/unix/unix_shared.c
@@ -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)