Commit Graph

8 Commits (e60bf60f9627a65361d37a6c310d35b7ba7903a5)

Author SHA1 Message Date
OBATA Akio d349995488 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>
6 years ago
OBATA Akio f8424834b6 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>
6 years ago
Slávek Banko cd36265ed3
Use common CMake tests.
Drop hardcoded definition -D_LARGEFILE64_SOURCE.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 909bc5d017 Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko 421c249f1f Fix build on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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