summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorKen Murchison <murch@andrew.cmu.edu>2014-06-26 14:14:27 -0400
committerKen Murchison <murch@andrew.cmu.edu>2014-06-26 14:15:52 -0400
commit98c1406216d2a1a77257597ba624f38735229c75 (patch)
treefa37d418316c153302fe5a398a62d519d0e71035 /ConfigureChecks.cmake
parent169e6e202d0967137d66462e8357a4cc653a6d75 (diff)
downloadlibical-git-98c1406216d2a1a77257597ba624f38735229c75.tar.gz
Allow dates > 2038 if sizeof(time_t) > 4
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 77df7b21..7daf84c2 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -34,6 +34,7 @@ check_type_size(mode_t SIZEOF_MODE_T)
check_type_size(size_t SIZEOF_SIZE_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)
include(FindThreads)
check_library_exists(pthread pthread_attr_get_np "" HAVE_PTHREAD_ATTR_GET_NP)