curlversion.h 420 B

1234567891011121314151617181920
  1. #ifndef CURLVERSION_H_INCLUDED
  2. #define CURLVERSION_H_INCLUDED
  3. #define CMAJOR LIBCURL_VERSION_MAJOR
  4. #define CMINOR LIBCURL_VERSION_MINOR
  5. #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 10)
  6. #define HAVE_CURL_NOSIGNAL 1
  7. #else
  8. #define HAVE_CURL_NOSIGNAL 0
  9. #endif
  10. #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 12)
  11. #define HAVE_CURL_STRERROR 1
  12. #else
  13. #define HAVE_CURL_STRERROR 0
  14. #endif
  15. #undef CMAJOR
  16. #undef CMINOR
  17. #endif