diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2014-02-12 09:00:44 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2014-02-20 20:55:39 -0500 |
commit | a39f2906839b721f74445a7cafb1387e35280c5b (patch) | |
tree | 40e6957d6f820d49fcc6374f9b183020a247150d /sysdeps/freebsd/open.c | |
parent | 02b55313f32cae7e53c73ee02f701b9fc5e29ed9 (diff) | |
download | libgtop-a39f2906839b721f74445a7cafb1387e35280c5b.tar.gz |
Fix build issues on FreeBSD
Diffstat (limited to 'sysdeps/freebsd/open.c')
-rw-r--r-- | sysdeps/freebsd/open.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/freebsd/open.c b/sysdeps/freebsd/open.c index 39a768d6..f976d0fc 100644 --- a/sysdeps/freebsd/open.c +++ b/sysdeps/freebsd/open.c @@ -43,10 +43,6 @@ glibtop_open_s (glibtop *server, const char *program_name, server->real_ncpu = ncpus - 1; server->ncpu = MIN(GLIBTOP_NCPU - 1, server->real_ncpu); -#if defined(__FreeBSD_kernel__) - server->os_version_code = __FreeBSD_kernel_version; -#else server->os_version_code = __FreeBSD_version; -#endif } |