aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1efe6bc..bcba254 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -237,6 +237,11 @@ if(HAVE_GETPAGESIZE)
237 add_definitions(-DHAVE_GETPAGESIZE) 237 add_definitions(-DHAVE_GETPAGESIZE)
238endif() 238endif()
239 239
240check_symbol_exists(timespecsub sys/time.h HAVE_TIMESPECSUB)
241if(HAVE_TIMESPECSUB)
242 add_definitions(-DHAVE_TIMESPECSUB)
243endif()
244
240check_function_exists(timingsafe_bcmp HAVE_TIMINGSAFE_BCMP) 245check_function_exists(timingsafe_bcmp HAVE_TIMINGSAFE_BCMP)
241if(HAVE_TIMINGSAFE_BCMP) 246if(HAVE_TIMINGSAFE_BCMP)
242 add_definitions(-DHAVE_TIMINGSAFE_BCMP) 247 add_definitions(-DHAVE_TIMINGSAFE_BCMP)