aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2023-12-12 08:22:17 +0100
committerTheo Buehler <tb@openbsd.org>2023-12-12 08:22:17 +0100
commit8853aa44cd7be692bed3924b13bb1e374ced5c79 (patch)
tree7438d614b6fd9472faa399c00e77ce9afcbf4ae1
parentf7bed14f22b70198b4ec56af6d489f69b3df805a (diff)
parent0de236a7c1ef37663d0b37f656bedb6fc202ca6f (diff)
downloadportable-8853aa44cd7be692bed3924b13bb1e374ced5c79.tar.gz
portable-8853aa44cd7be692bed3924b13bb1e374ced5c79.tar.bz2
portable-8853aa44cd7be692bed3924b13bb1e374ced5c79.zip
Land #963
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 605cfde..ac3e5a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -234,6 +234,11 @@ if(HAVE_STRSEP)
234 add_definitions(-DHAVE_STRSEP) 234 add_definitions(-DHAVE_STRSEP)
235endif() 235endif()
236 236
237check_function_exists(strtonum HAVE_STRTONUM)
238if(HAVE_STRTONUM)
239 add_definitions(-DHAVE_STRTONUM)
240endif()
241
237check_function_exists(timegm HAVE_TIMEGM) 242check_function_exists(timegm HAVE_TIMEGM)
238if(HAVE_TIMEGM) 243if(HAVE_TIMEGM)
239 add_definitions(-DHAVE_TIMEGM) 244 add_definitions(-DHAVE_TIMEGM)