]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: detect suseconds_t using CHECK_TYPE_SIZE
authorKefu Chai <kchai@redhat.com>
Mon, 26 Apr 2021 15:29:51 +0000 (23:29 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 2 May 2021 00:16:07 +0000 (08:16 +0800)
commit731ec948315b34d1c8f63bfa0dd41911e63cd8bf
tree2de0557449bb69cb5b1447808007276c0139f6ba
parent78d4990ac4a4120765f7613d8b08e15bca2fd61d
cmake: detect suseconds_t using CHECK_TYPE_SIZE

instead assuming it's a macro use CHECK_TYPE_SIZE to check it.

on Darwin, it's defined as `__darwin_suseconds_t`

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/include/config-h.in.cmake
src/log/LogClock.h