cmake: detect HAVE_CLOCK_GETTIME_MONOTONIC_RAW

Based on existing autotools logic.

Ref: #11964 (effort to sync cmake detections with autotools)

Closes #11981
This commit is contained in:
Viktor Szakats 2023-09-29 02:20:44 +00:00
parent 04a3a377d8
commit da5dcb7007
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 24 additions and 0 deletions

View file

@ -186,6 +186,10 @@
/* Define to 1 if you have the clock_gettime function and monotonic timer. */
#cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC 1
/* Define to 1 if you have the clock_gettime function and raw monotonic timer.
*/
#cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC_RAW 1
/* Define to 1 if you have the `closesocket' function. */
#cmakedefine HAVE_CLOSESOCKET 1