diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2014-10-20 10:17:03 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-02-08 10:29:16 +0100 |
commit | 4b68c98d420fffd06d205179734c84b67959deae (patch) | |
tree | 923719302472faa853600ac46b311a1eb87cdce1 /config.h.cmake | |
parent | 5c315f7e720daa45796b5f82493b0c4624fbb7e0 (diff) | |
download | cmocka-4b68c98d420fffd06d205179734c84b67959deae.tar.gz cmocka-4b68c98d420fffd06d205179734c84b67959deae.tar.bz2 cmocka-4b68c98d420fffd06d205179734c84b67959deae.zip |
cmocka: Add correct checks for clock_gettime().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index 3c47a7d..aa691d0 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -62,6 +62,9 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #cmakedefine HAVE_SYS_TYPES_H 1 +/* Define to 1 if you have the <time.h> header file. */ +#cmakedefine HAVE_TIME_H 1 + /* Define to 1 if you have the <unistd.h> header file. */ #cmakedefine HAVE_UNISTD_H 1 @@ -115,6 +118,9 @@ /* Define to 1 if you have the `strsignal' function. */ #cmakedefine HAVE_STRSIGNAL 1 +/* Define to 1 if you have the `clock_gettime' function. */ +#cmakedefine HAVE_CLOCK_GETTIME 1 + /**************************** OPTIONS ****************************/ /* Check if we have TLS support with GCC */ @@ -123,6 +129,9 @@ /* Check if we have TLS support with MSVC */ #cmakedefine HAVE_MSVC_THREAD_LOCAL_STORAGE 1 +/* Check if we have CLOCK_REALTIME for clock_gettime() */ +#cmakedefine HAVE_CLOCK_GETTIME_REALTIME 1 + /*************************** ENDIAN *****************************/ #cmakedefine WORDS_SIZEOF_VOID_P ${WORDS_SIZEOF_VOID_P} |