diff options
Diffstat (limited to 'apps/codecs/libmusepack/internal.h')
-rw-r--r-- | apps/codecs/libmusepack/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libmusepack/internal.h b/apps/codecs/libmusepack/internal.h index 44279e2fa5..45f2b41eea 100644 --- a/apps/codecs/libmusepack/internal.h +++ b/apps/codecs/libmusepack/internal.h | |||
@@ -54,6 +54,10 @@ mpc_uint32_t mpc_swap32(mpc_uint32_t val) { | |||
54 | } | 54 | } |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifndef min | ||
58 | #define min(a, b) (((a) < (b)) ? (a) : (b)) | ||
59 | #endif | ||
60 | |||
57 | /// Searches for a ID3v2-tag and reads the length (in bytes) of it. | 61 | /// Searches for a ID3v2-tag and reads the length (in bytes) of it. |
58 | /// \param reader supplying raw stream data | 62 | /// \param reader supplying raw stream data |
59 | /// \return size of tag, in bytes | 63 | /// \return size of tag, in bytes |