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) { } #endif +#ifndef min +#define min(a, b) (((a) < (b)) ? (a) : (b)) +#endif + /// Searches for a ID3v2-tag and reads the length (in bytes) of it. /// \param reader supplying raw stream data /// \return size of tag, in bytes |