diff options
author | Theo Buehler <tb@openbsd.org> | 2023-12-12 08:22:17 +0100 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2023-12-12 08:22:17 +0100 |
commit | 8853aa44cd7be692bed3924b13bb1e374ced5c79 (patch) | |
tree | 7438d614b6fd9472faa399c00e77ce9afcbf4ae1 | |
parent | f7bed14f22b70198b4ec56af6d489f69b3df805a (diff) | |
parent | 0de236a7c1ef37663d0b37f656bedb6fc202ca6f (diff) | |
download | portable-8853aa44cd7be692bed3924b13bb1e374ced5c79.tar.gz portable-8853aa44cd7be692bed3924b13bb1e374ced5c79.tar.bz2 portable-8853aa44cd7be692bed3924b13bb1e374ced5c79.zip |
Land #963
-rw-r--r-- | CMakeLists.txt | 5 |
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) |
235 | endif() | 235 | endif() |
236 | 236 | ||
237 | check_function_exists(strtonum HAVE_STRTONUM) | ||
238 | if(HAVE_STRTONUM) | ||
239 | add_definitions(-DHAVE_STRTONUM) | ||
240 | endif() | ||
241 | |||
237 | check_function_exists(timegm HAVE_TIMEGM) | 242 | check_function_exists(timegm HAVE_TIMEGM) |
238 | if(HAVE_TIMEGM) | 243 | if(HAVE_TIMEGM) |
239 | add_definitions(-DHAVE_TIMEGM) | 244 | add_definitions(-DHAVE_TIMEGM) |