LIBCURL_VERSION_MAJOR

The numeric version number is also available "in parts" by using these constants

enum LIBCURL_VERSION_MAJOR = 7;

Meta