diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2017-01-13 11:50:01 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-01-13 13:38:12 +0100 |
commit | ba315745f7f4ddfedd0763833c22f019817535cb (patch) | |
tree | 6b669c997b480f7ce89a82c659b96ff584cd19f2 | |
parent | 2ac1942c72fda6d2a1912fb4e8b6ebfc43ee9f30 (diff) |
IDN: Fix compile time detection of linidn2 TR46
Follow-up to f30cbcac1
Closes #1207
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4010,7 +4010,7 @@ static void fix_hostname(struct connectdata *conn, struct hostname *host) #ifdef USE_LIBIDN2 if(idn2_check_version(IDN2_VERSION)) { char *ace_hostname = NULL; -#ifdef IDN2_TRANSITIONAL +#if IDN2_VERSION_NUMBER >= 0x00140000 int flags = IDN2_NFC_INPUT | IDN2_TRANSITIONAL; #else int flags = IDN2_NFC_INPUT; |