From: brarcher Date: Wed, 25 Dec 2013 03:04:33 +0000 (+0000) Subject: cmake: add check for clockid_t X-Git-Tag: 0.10.0~266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1faf8b25bbaa76dc0f87b91687a18a467e9dc4b6;p=check cmake: add check for clockid_t git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@950 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a4e193..7166996 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -260,6 +260,11 @@ if(NOT HAVE_CLOCK_T) set(clock_t int) endif(NOT HAVE_CLOCK_T) # +check_type_size(clockid_t CLOCKID_T) +if(NOT HAVE_CLOCKID_T) + set(clockid_t int) +endif(NOT HAVE_CLOCKID_T) +# check_type_size(dev_t DEV_T) if(NOT HAVE_DEV_T) if(MSVC)