aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 558a6f5..94e4d0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -219,6 +219,11 @@ if(HAVE_GETENTROPY)
219 add_definitions(-DHAVE_GETENTROPY) 219 add_definitions(-DHAVE_GETENTROPY)
220endif() 220endif()
221 221
222check_function_exists(getpagesize HAVE_GETPAGESIZE)
223if(HAVE_GETPAGESIZE)
224 add_definitions(-DHAVE_GETPAGESIZE)
225endif()
226
222check_function_exists(timingsafe_bcmp HAVE_TIMINGSAFE_BCMP) 227check_function_exists(timingsafe_bcmp HAVE_TIMINGSAFE_BCMP)
223if(HAVE_TIMINGSAFE_BCMP) 228if(HAVE_TIMINGSAFE_BCMP)
224 add_definitions(-DHAVE_TIMINGSAFE_BCMP) 229 add_definitions(-DHAVE_TIMINGSAFE_BCMP)