diff options
author | Theo Buehler <tb@openbsd.org> | 2024-05-25 08:56:45 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-05-25 13:49:18 +0200 |
commit | f9874d49f651177d643cc86f8837db44c4a29558 (patch) | |
tree | 46e390fc24c101016532011a8b960903a4ee7b9b /CMakeLists.txt | |
parent | f785e2954a847ebaa8559b65c2b5030489ce5556 (diff) | |
download | portable-f9874d49f651177d643cc86f8837db44c4a29558.tar.gz portable-f9874d49f651177d643cc86f8837db44c4a29558.tar.bz2 portable-f9874d49f651177d643cc86f8837db44c4a29558.zip |
Remove timegm() compat
Now that all uses of gmtime_r() and timegm() have been converted to
OPENSSL_gmtime() and OPENSSL_timegm(), this is no longer needed.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 95fe601..438e622 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -255,11 +255,6 @@ if(HAVE_STRTONUM) | |||
255 | add_definitions(-DHAVE_STRTONUM) | 255 | add_definitions(-DHAVE_STRTONUM) |
256 | endif() | 256 | endif() |
257 | 257 | ||
258 | check_function_exists(timegm HAVE_TIMEGM) | ||
259 | if(HAVE_TIMEGM) | ||
260 | add_definitions(-DHAVE_TIMEGM) | ||
261 | endif() | ||
262 | |||
263 | check_function_exists(arc4random_buf HAVE_ARC4RANDOM_BUF) | 258 | check_function_exists(arc4random_buf HAVE_ARC4RANDOM_BUF) |
264 | if(HAVE_ARC4RANDOM_BUF) | 259 | if(HAVE_ARC4RANDOM_BUF) |
265 | add_definitions(-DHAVE_ARC4RANDOM_BUF) | 260 | add_definitions(-DHAVE_ARC4RANDOM_BUF) |