From c2ae7742a7541c393812d4bffd71fca3da543727 Mon Sep 17 00:00:00 2001 From: ulukyn Date: Fri, 17 Aug 2018 17:29:45 +0200 Subject: [PATCH] Fixed: Check if CURL_AT_LEAST_VERSION exists (for old versions) --HG-- branch : compatibility-develop --- code/nel/src/gui/curl_certificates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;