mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 08:15:46 -04:00
Initial community commit
This commit is contained in:
30
Src/external_dependencies/cpr/cmake/cprver.h.in
Normal file
30
Src/external_dependencies/cpr/cmake/cprver.h.in
Normal file
@ -0,0 +1,30 @@
|
||||
#ifndef CPR_CPRVER_H
|
||||
#define CPR_CPRVER_H
|
||||
|
||||
/**
|
||||
* CPR version as a string.
|
||||
**/
|
||||
#define CPR_VERSION "${cpr_VERSION}"
|
||||
|
||||
/**
|
||||
* CPR version split up into parts.
|
||||
**/
|
||||
#define CPR_VERSION_MAJOR ${cpr_VERSION_MAJOR}
|
||||
#define CPR_VERSION_MINOR ${cpr_VERSION_MINOR}
|
||||
#define CPR_VERSION_PATCH ${cpr_VERSION_PATCH}
|
||||
|
||||
/**
|
||||
* CPR version as a single hex digit.
|
||||
* it can be split up into three parts:
|
||||
* 0xAABBCC
|
||||
* AA: The current CPR major version number in a hex format.
|
||||
* BB: The current CPR minor version number in a hex format.
|
||||
* CC: The current CPR patch version number in a hex format.
|
||||
*
|
||||
* Examples:
|
||||
* '0x010702' -> 01.07.02 -> CPR_VERSION: 1.7.2
|
||||
* '0xA13722' -> A1.37.22 -> CPR_VERSION: 161.55.34
|
||||
**/
|
||||
#define CPR_VERSION_NUM ${cpr_VERSION_NUM}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user