Closed sanchit-saini closed 2 months ago
This is a runtime check, but it needs to be a compile time check in order to solve #123. Use the C preprocessor to compare the 7.59.0
to LIBCURL_VERSION_NUM
. Also, please isolate the conditional to just selecting between CURLINFO_FILETIME
and CURLINFO_FILETIME_T
, i.e., do not repeat the calls to the curl function. It is easy to do this with the preprocessor.
@lawremi Updated it. Can you review it.
Fix #123