diff options
Diffstat (limited to 'audio/libtunepimp/files/patch-lib-metadata.cpp')
-rw-r--r-- | audio/libtunepimp/files/patch-lib-metadata.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/libtunepimp/files/patch-lib-metadata.cpp b/audio/libtunepimp/files/patch-lib-metadata.cpp new file mode 100644 index 000000000000..018363898587 --- /dev/null +++ b/audio/libtunepimp/files/patch-lib-metadata.cpp @@ -0,0 +1,17 @@ +--- lib/metadata.cpp.orig Wed Nov 10 17:37:26 2004 ++++ lib/metadata.cpp Wed Sep 14 17:25:59 2005 +@@ -34,6 +34,14 @@ + #include "astrcmp.h" + } + ++#ifndef min ++#define min(a,b) ((a) < (b) ? (a) : (b)) ++#endif ++ ++#ifndef max ++#define max(a,b) ((a) > (b) ? (a) : (b)) ++#endif ++ + const int numAlbumTypeStrings = 11; + const char *albumTypeStrings[] = + { |