Commit 2de567fb authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

src/libFLAC/include/private/macros.h : Add default MIN/MAX macros.

parent 03a9e606
......@@ -61,6 +61,14 @@
#define flac_min(a,b) __min(a,b)
#endif
#ifndef MIN
#define MIN(x,y) ((x) <= (y) ? (x) : (y))
#endif
#ifndef MAX
#define MAX(x,y) ((x) >= (y) ? (x) : (y))
#endif
#if !defined(__cplusplus) && defined(_MSC_VER)
#ifndef inline
#define inline __inline
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment