| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -140,7 +140,7 @@ | |||
| 140 | 140 | ||
| 141 | 141 | __version__ = '1.70' # Highest version of the spec this complies with | |
| 142 | 142 | # See http://speleotrove.com/decimal/ | |
| 143 | - __libmpdec_version__ = "2.4.0" # compatible libmpdec version | ||
| 143 | + __libmpdec_version__ = "2.4.1" # compatible libmpdec version | ||
| 144 | 144 | ||
| 145 | 145 | import math as _math | |
| 146 | 146 | import numbers as _numbers | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,8 +39,8 @@ | |||
| 39 | 39 | #include "memory.h" | |
| 40 | 40 | ||
| 41 | 41 | ||
| 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" | ||
| 44 | 44 | #endif | |
| 45 | 45 | ||
| 46 | 46 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,9 +108,13 @@ MPD_PRAGMA(MPD_HIDE_SYMBOLS_START) | |||
| 108 | 108 | ||
| 109 | 109 | #define MPD_MAJOR_VERSION 2 | |
| 110 | 110 | #define MPD_MINOR_VERSION 4 | |
| 111 | - #define MPD_MICRO_VERSION 0 | ||
| 111 | + #define MPD_MICRO_VERSION 1 | ||
| 112 | 112 | ||
| 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)) | ||
| 114 | 118 | ||
| 115 | 119 | const char *mpd_version(void); | |
| 116 | 120 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments