Commit Graph

8 Commits (b66adc761379489dae0caacd9e5164cce6c61412)

Author SHA1 Message Date
OBATA Akio 39a89fa0a2
Change and simplify `statvfs` conditions in FileSystemStats
`getfsstat` v.s. `getvfsstat` condition is different than
`statfs` v.s. `statvfs`, so split each condition and simplify.

For `get(v)fsstat` side, changed to check and use `getmntinfo`, because
it is better than `get(v)fsstat` with fixed buffer size, and easier
than improve it with dynamic buffer allocation.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit d349995488)
6 years ago
OBATA Akio e2e56f4e61
Fix NetBSD APM support
NetBSD APM is supported other than i386 too, emulate API,
so change to detect with MI support header.
Additionally, catch up support codes to others.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit f8424834b6)
6 years ago
Slávek Banko 9f62ab2f05
Use common CMake tests.
Drop hardcoded definition -D_LARGEFILE64_SOURCE.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit cd36265ed3)
6 years ago
Slávek Banko 150ffb2b55 Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 909bc5d017)
8 years ago
Slávek Banko bdc3d0f043 Fix build on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 421c249f1f)
10 years ago
Slávek Banko 80e661aaac Finish renaming knewstuff 11 years ago
Alexander Golubev ba743d360e Fix cmake build: WITH_POWERBOOK2 option for kmilo 12 years ago
Darrell Anderson c1a8ee04fb Initial conversion to cmake.
Thanks to Fat-Zer.
12 years ago