On Mon, 2 Nov 2015, Lauri Kasanen wrote:
+#if ('z' - 'a' == 25) && ('Z' - 'A' == 25)
I have one concern with this method: it checks that the compiler is using
ascii, not necessarily that the target host is using it. I'm not sure the
distinction actually matters.
However, I also think that CURL_DOES_CONVERSIONS is the define used elsewhere
within libcurl for the system that uses non-ASCII so we can probably use that
for this check as well and then my concern will go away.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html