summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2015-05-07 19:29:57 -0400
committerAllen Winter <allen.winter@kdab.com>2015-05-07 19:29:57 -0400
commitca191ce3076951089f54b878ef6c2ce4ef59c7b4 (patch)
treee731870a69be780b071942817c180d7521a4f943 /ConfigureChecks.cmake
parent112aef0b3f343d22d0e8d14b7a4cd4b858ff5ce9 (diff)
downloadlibical-git-ca191ce3076951089f54b878ef6c2ce4ef59c7b4.tar.gz
Splint fixes. and unhide some symbols
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 18397475..00448dde 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -51,11 +51,12 @@ check_function_exists(setenv HAVE_SETENV)
check_function_exists(unsetenv HAVE_UNSETENV)
include(CheckTypeSize)
+check_type_size(intptr_t SIZEOF_INTPTR_T)
+check_type_size(pid_t SIZEOF_PID_T)
check_type_size(size_t SIZEOF_SIZE_T)
check_type_size(ssize_t SIZEOF_SSIZE_T)
-check_type_size(intptr_t INTPTR_T) # please do not rename HAVE_INTPTR_T will automatically be defined
-check_type_size(pid_t HAVE_PID_T)
check_type_size(time_t SIZEOF_TIME_T)
+check_type_size(wint_t SIZEOF_WINT_T)
include(FindThreads)
check_library_exists(pthread pthread_attr_get_np "" HAVE_PTHREAD_ATTR_GET_NP)