diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-05-27 01:14:30 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-05-27 01:14:30 +0200 |
commit | e199b0f7781e38b97eb6bb5d5bfa147f520da77c (patch) | |
tree | e60046470ef269cbd03144c8f6ecd24cacbaed2b /kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp | |
parent | f0c3db47bb2b37a13703385bf26bc4428278e218 (diff) | |
download | tdegraphics-e199b0f7781e38b97eb6bb5d5bfa147f520da77c.tar.gz tdegraphics-e199b0f7781e38b97eb6bb5d5bfa147f520da77c.zip |
Fix FTBFS on fmin redefinition
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp b/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp index 98175159..0b8fa614 100644 --- a/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp +++ b/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp @@ -97,10 +97,11 @@ inline unsigned char umin(unsigned char a, unsigned char b) { return (a>b) ? b : a; } +#if !defined(HAVE_FMIN) inline float fmin(float a, float b) { return (a>b) ? b : a; } - +#endif // ------- DJVUPALETTE |