On Thu, 11 Jun 2009, Junio C Hamano wrote:
#if !defined(CURLOPT_KEYPASSWD) # if defined(CURLOPT_SSLKEYPASSWD) # define CURLOPT_KEYTPASSWD CURLOPT_SSLKEYPASSWD # elif defined(CURLOPT_SSLCERTPASSWD # define CURLOPT_KEYTPASSWD CURLOPT_SSLCERTPASSWD # endif #endif
Just note that these CURLOPT_* symbols provided by libcurl are enums, not defines, so unfortunately you can't do it this exact #ifdef way.
-- / daniel.haxx.se -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html