aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordmitrykos <dmitrykos@neutroncode.com>2018-10-04 21:31:23 +0300
committerSergei Nikulov <sergey.nikulov@gmail.com>2018-10-05 13:10:41 +0300
commit667b5721c71480b4e5dbd2f91d7668a2b92bf00b (patch)
treeff24a138a6fc45af66bff6f91c7caed12fe6bff8 /lib
parent8a42b769a7100d8396f3b09ac0870cc9be671725 (diff)
cmake: test and set missed defines during configuration
Added configuration checks for HAVE_BUILTIN_AVAILABLE and HAVE_CLOCK_GETTIME_MONOTONIC. Closes #3097
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index ab0094be5..83cf07ba6 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -127,6 +127,9 @@
/* Define to 1 if bool is an available type. */
#cmakedefine HAVE_BOOL_T 1
+/* Define to 1 if you have the __builtin_available function. */
+#cmakedefine HAVE_BUILTIN_AVAILABLE 1
+
/* Define to 1 if you have the clock_gettime function and monotonic timer. */
#cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC 1