summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLi Xinwei <1326710505@qq.com>2021-03-29 12:58:17 +0800
committerDaniel Stenberg <daniel@haxx.se>2021-03-29 09:50:55 +0200
commit9d4f21b190e90174d19e8c9f00ad63778814a5f0 (patch)
tree78a4cf1c3f73d6af9434cf77b881653fc76da2ea /lib
parent6bb028dbda6cbfe83f66de773544f71e4813160f (diff)
downloadcurl-9d4f21b190e90174d19e8c9f00ad63778814a5f0.tar.gz
cmake: support WinIDN
Closes #6807
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_config.h.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 01c4ded1f..fc1857ebb 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -1073,3 +1073,9 @@ ${SIZEOF_TIME_T_CODE}
/* Define to 1 if you have the mach_absolute_time function. */
#cmakedefine HAVE_MACH_ABSOLUTE_TIME 1
+
+/* to enable Windows IDN */
+#cmakedefine USE_WIN32_IDN 1
+
+/* to make the compiler know the prototypes of Windows IDN APIs */
+#cmakedefine WANT_IDN_PROTOTYPES 1