File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 140140
141141__version__ = '1.70' # Highest version of the spec this complies with
142142 # See http://speleotrove.com/decimal/
143- __libmpdec_version__ = "2.4.0 " # compatible libmpdec version
143+ __libmpdec_version__ = "2.4.1 " # compatible libmpdec version
144144
145145import math as _math
146146import numbers as _numbers
Original file line number Diff line number Diff line change 3939#include "memory.h"
4040
4141
42- #if MPD_MAJOR_VERSION != 2
43- #error "libmpdec major version 2 required"
42+ #if !defined( MPD_VERSION_HEX ) || MPD_VERSION_HEX < 0x02040100
43+ #error "libmpdec version >= 2.4.1 required"
4444#endif
4545
4646
Original file line number Diff line number Diff line change @@ -108,9 +108,13 @@ MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
108108
109109#define MPD_MAJOR_VERSION 2
110110#define MPD_MINOR_VERSION 4
111- #define MPD_MICRO_VERSION 0
111+ #define MPD_MICRO_VERSION 1
112112
113- #define MPD_VERSION "2.4.0"
113+ #define MPD_VERSION "2.4.1"
114+
115+ #define MPD_VERSION_HEX ((MPD_MAJOR_VERSION << 24) | \
116+ (MPD_MINOR_VERSION << 16) | \
117+ (MPD_MICRO_VERSION << 8))
114118
115119const char * mpd_version (void );
116120
You can’t perform that action at this time.
0 commit comments