equal
deleted
inserted
replaced
174 kernel_line += "Windows kernel\n"; |
174 kernel_line += "Windows kernel\n"; |
175 #endif |
175 #endif |
176 #ifdef Q_WS_X11 |
176 #ifdef Q_WS_X11 |
177 number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n"; |
177 number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n"; |
178 long pages = sysconf(_SC_PHYS_PAGES), |
178 long pages = sysconf(_SC_PHYS_PAGES), |
|
179 #ifndef Q_OS_FREEBSD |
179 available_pages = sysconf(_SC_AVPHYS_PAGES), |
180 available_pages = sysconf(_SC_AVPHYS_PAGES), |
|
181 #else |
|
182 available_pages = 0, |
|
183 #endif |
180 page_size = sysconf(_SC_PAGE_SIZE); |
184 page_size = sysconf(_SC_PAGE_SIZE); |
181 total_ram += QString::number(pages * page_size) + "\n"; |
185 total_ram += QString::number(pages * page_size) + "\n"; |
182 os_version += "GNU/Linux or BSD\n"; |
186 os_version += "GNU/Linux or BSD\n"; |
183 #endif |
187 #endif |
184 |
188 |