diff --git a/code/nel/src/gui/curl_certificates.cpp b/code/nel/src/gui/curl_certificates.cpp index fa3cd10f0..34a989287 100644 --- a/code/nel/src/gui/curl_certificates.cpp +++ b/code/nel/src/gui/curl_certificates.cpp @@ -86,7 +86,7 @@ namespace NLGUI CURLINFO info; -#if CURL_AT_LEAST_VERSION(7, 48, 0) +#if defined(CURL_AT_LEAST_VERSION) && CURL_AT_LEAST_VERSION(7, 48, 0) info = CURLINFO_TLS_SSL_PTR; #else info = CURLINFO_TLS_SESSION;