mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Introduce and check for MPD_VERSION_HEX for precise management of builds
with an external libmpdec.
This commit is contained in:
parent
298131a448
commit
cf26115651
3 changed files with 9 additions and 5 deletions
|
@ -108,9 +108,13 @@ MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
|
|||
|
||||
#define MPD_MAJOR_VERSION 2
|
||||
#define MPD_MINOR_VERSION 4
|
||||
#define MPD_MICRO_VERSION 0
|
||||
#define MPD_MICRO_VERSION 1
|
||||
|
||||
#define MPD_VERSION "2.4.0"
|
||||
#define MPD_VERSION "2.4.1"
|
||||
|
||||
#define MPD_VERSION_HEX ((MPD_MAJOR_VERSION << 24) | \
|
||||
(MPD_MINOR_VERSION << 16) | \
|
||||
(MPD_MICRO_VERSION << 8))
|
||||
|
||||
const char *mpd_version(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue